lavc: use buf[0] instead of data[0] in checks whether a frame is allocated
authorAnton Khirnov <anton@khirnov.net>
Fri, 1 Nov 2013 17:07:22 +0000 (18:07 +0100)
committerAnton Khirnov <anton@khirnov.net>
Mon, 18 Nov 2013 17:09:48 +0000 (18:09 +0100)
commita553c6a347d3d28d7ee44c3df3d5c4ee780dba23
treed7f3a20b6d439d56d5bf5856f47f8da5652e820b
parentcc20fbcd39c7b60602edae4f7deb092ecfd3c975
lavc: use buf[0] instead of data[0] in checks whether a frame is allocated

data[0] may be NULL for valid frames with hwaccel pixel formats.
libavcodec/h264.c
libavcodec/h264_refs.c
libavcodec/mpegvideo.c
libavcodec/pthread_frame.c