Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-07-21 15:22:04 +0400
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2012-07-23 19:35:21 +0400
commit6c8fdfc5e51902c6011d450b7ddc94bd1fe1030e (patch)
treec434afe9b416a703b71134c34b4adc69c2bb013d /libavformat/allformats.c
parent61884b9d1b6be16dbbfae6700cf8628e037ea28b (diff)
zerocodec: fix direct rendering.
Set picture type before calling get_buffer. This allows the DR application to make better decisions. It also fixes a resource leak in case of missing reference frames since it would call get_buffer but never release_buffer. Also use FFSWAP to ensure that the AVFrame is properly initialized in the next get_buffer (in particular that data[0] is NULL). Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat/allformats.c')
0 files changed, 0 insertions, 0 deletions