mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-27 01:30:35 +08:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: h264: new assembly version of get_cabac for x86_64 with PIC h264: use one table instead of several for cabac functions h264: (trivial) remove unneeded macro argument in x86/cabac.h libschroedingerdec: check malloc segment: reorder seg_write_header allocation avio: make avio_close(NULL) a no-op mov: Parse EC3SpecificBox (dec3 atom). Conflicts: libavcodec/cabac.c libavcodec/x86/cabac.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -785,8 +785,12 @@ int avio_open2(AVIOContext **s, const char *filename, int flags,
|
||||
|
||||
int avio_close(AVIOContext *s)
|
||||
{
|
||||
URLContext *h = s->opaque;
|
||||
URLContext *h;
|
||||
|
||||
if (!s)
|
||||
return 0;
|
||||
|
||||
h = s->opaque;
|
||||
av_free(s->buffer);
|
||||
av_free(s);
|
||||
return ffurl_close(h);
|
||||
|
||||
Reference in New Issue
Block a user