• Ronald S. Bultje's avatar
    avs: fix infinite loop on end-of-stream. · 83f15a12
    Ronald S. Bultje authored
    The codec would keep returning the last decoded frame if the stream
    contains B-frames, since it wouldn't clear that frame from the list of
    frames to be returned to the user.
    
    Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
    CC: libav-stable@libav.org
    83f15a12
cavsdec.c 25.7 KB