• Luca Barbato's avatar
    avplay: fix write on freed memory for rawvideo · 906f9dce
    Luca Barbato authored
    Do not assume avpacket and the decoded frames are independent.
    
    To be absolutely sure and not sprinkle av_free_packet around the code
    the call had been placed before getting the frame and on the error path.
    906f9dce