diff options
author | Janne Grunau <janne-libav@jannau.net> | 2013-06-15 22:11:55 +0300 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-06-16 15:10:58 +0200 |
commit | 985f34b75653d02eda8eb8def3412f8577f19b01 (patch) | |
tree | ed0fd1c7c6720aab34d90dc306de55d42b80ab86 /avplay.c | |
parent | df9f22d42b0905385629a9d368bb5a1eef2b45ef (diff) | |
download | ffmpeg-985f34b75653d02eda8eb8def3412f8577f19b01.tar.gz |
utils: fix avcodec_flush_buffers pre-reference counting compatibility
The to_free AVframe must be freed just like the other ones.
Indeed, the calling application may expect all frames to be
released.
(This regression caused use-after-free in VLC with hwaccel.)
Signed-off-by: RĂ©mi Denis-Courmont <remi@remlab.net>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'avplay.c')
0 files changed, 0 insertions, 0 deletions