]> git.sesse.net Git - ffmpeg/commit
utils: add workaround for AVHWAccel in ff_get_buffer compat code
authorJanne Grunau <janne-libav@jannau.net>
Mon, 25 Mar 2013 16:28:37 +0000 (17:28 +0100)
committerJanne Grunau <janne-libav@jannau.net>
Tue, 26 Mar 2013 18:44:50 +0000 (19:44 +0100)
commitc24469e812501903a46a06eff9722a82e136e841
tree38041985645de903e520a575e016f27ac2f7c0df
parent2ece5bf3ec8b08e7f43ad66fc6a2e07acf57014d
utils: add workaround for AVHWAccel in ff_get_buffer compat code

Since c977039e585bfff28ecc037ef827c6c3d1ed88aa plane count for
PIX_FMT_HWACCEL pixel formats is 0 instead of 1. The created dummy
AVBuffers are still bogus since AVFrame does not hold frame data when
AVHWAccels are used.
libavcodec/utils.c