lavc/vp56: Simplify get/release_buffer code
Rather than cleverly managing frame pointers with swaps to avoid re-using "golden" frames, just do brute-force management of the 4 AVFrames. New strategy is probably no more costly and is easier to adapt to threaded usage. Signed-off-by: Ben Jackson <ben@ben.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Showing
Please
register
or
sign in
to comment