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: use buf[0] instead of data[0] as the indicator of an allocated frame
data[0] may be NULL for valid frames with hwaccel pixel formats.
tags/n2.2-rc1
Anton Khirnov
12 years ago
parent
e5419709f5
commit
d4f0f2d1e8
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
@@ -1416,7 +1416,7 @@ int attribute_align_arg avcodec_decode_video2(AVCodecContext *avctx, AVFrame *pi
emms_c(); //needed to avoid an emms_c() call before every return;
if (ret < 0 && picture->
data
[0])
if (ret < 0 && picture->
buf
[0])
av_frame_unref(picture);
if (*got_picture_ptr) {
Write
Preview
Loading…
Cancel
Save