This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
lavc: remove a pointless check in decode_audio4()
av_frame_unref() works fine on unallocated frames.
tags/n2.2-rc1
Anton Khirnov
12 years ago
parent
d4f0f2d1e8
commit
85f947aefb
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/utils.c
+ 1
- 1
libavcodec/utils.c
View File
@@ -1478,7 +1478,7 @@ int attribute_align_arg avcodec_decode_audio4(AVCodecContext *avctx,
frame->extended_buf = NULL;
frame->nb_extended_buf = 0;
}
} else
if (frame->data[0])
} else
av_frame_unref(frame);
}
Write
Preview
Loading…
Cancel
Save