diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-07-21 13:22:04 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-07-21 21:11:37 +0200 |
commit | 313d1981adc07b183b47ea156c14fd04e7a1a034 (patch) | |
tree | 10dba3857c86e6d2c4f879c0665a9311e41538c8 /libavresample/Makefile | |
parent | a36f19e94210fa0732f7eea6f38aae7306670520 (diff) | |
download | ffmpeg-313d1981adc07b183b47ea156c14fd04e7a1a034.tar.gz |
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>
Diffstat (limited to 'libavresample/Makefile')
0 files changed, 0 insertions, 0 deletions