mpegvideo: unref old current_picture before allocating a new one
Allows decoding with only three frame buffers with frame reference counting. Fixes VAAPI based decoding in vlc which uses only three frame buffers for the mpegvideo-based codecs.
Showing
Please
register
or
sign in
to comment