Skip to content
Snippets Groups Projects
Commit 985f34b7 authored by Janne Grunau's avatar Janne Grunau Committed by Luca Barbato
Browse files

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: default avatarRémi Denis-Courmont <remi@remlab.net>

Signed-off-by: default avatarLuca Barbato <lu_zero@gentoo.org>
parent df9f22d4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment