Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avplay: fix write on freed memory for rawvideo
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.
- Loading branch information