Merge commit 'd4f0f2d1e8'
* commit 'd4f0f2d1e8':
lavc: use buf[0] instead of data[0] as the indicator of an allocated frame
Conflicts:
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
f4332e9591
1 changed files with 1 additions and 1 deletions
|
|
@ -2090,7 +2090,7 @@ fail:
|
|||
ret = avpkt->size;
|
||||
}
|
||||
|
||||
if (ret < 0 && picture->data[0])
|
||||
if (ret < 0 && picture->buf[0])
|
||||
av_frame_unref(picture);
|
||||
|
||||
if (*got_picture_ptr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue