lavc: use buf[0] instead of data[0] as the indicator of an allocated frame
authorAnton Khirnov <anton@khirnov.net>
Fri, 29 Nov 2013 19:16:07 +0000 (20:16 +0100)
committerAnton Khirnov <anton@khirnov.net>
Mon, 9 Dec 2013 07:44:11 +0000 (08:44 +0100)
commitd4f0f2d1e80b76260eb6b9cdde472ac069dfda56
tree2cfdde3d2b8655f1afa782be9e5341911847df64
parente5419709f50593769037ab77d7102f82d9260784
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.
libavcodec/utils.c