Commit f4332e95 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'd4f0f2d1'

* commit 'd4f0f2d1':
  lavc: use buf[0] instead of data[0] as the indicator of an allocated frame

Conflicts:
	libavcodec/utils.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents cefabaad d4f0f2d1
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment