• Stefano Sabatini's avatar
    4xm: use reget_buffer() in decode_frame() · 10aa5a6c
    Stefano Sabatini authored
    Also remove unnecessary call to avctx->release_buffer(). reget_buffer
    is required since apparently the codec needs to be feeded with the
    previous frame data.
    
    Releasing the frame and using get_buffer was working only in the case
    get_buffer() was returning the old frame data, and resulting in
    playback artifacts otherwise.
    
    Fix trac issue #85.
    10aa5a6c
4xm.c 27.3 KB