aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg12enc.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2012-06-28 20:55:04 +0200
committerLuca Barbato <lu_zero@gentoo.org>2012-07-03 15:35:51 +0200
commit906f9dce85eeb8c7f29ed2a37ec737a64c0275c6 (patch)
treeacfe0051bba879796ea357ff6409d78b9ba88eb5 /libavcodec/mpeg12enc.c
parent33895451570742c47404fec52d87a5c71de26b83 (diff)
downloadffmpeg-906f9dce85eeb8c7f29ed2a37ec737a64c0275c6.tar.gz
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.
Diffstat (limited to 'libavcodec/mpeg12enc.c')
0 files changed, 0 insertions, 0 deletions