avcodec/mjpegenc: use av_freep(), avoid leaving stale pointers in memory
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 31 Oct 2014 12:36:19 +0000 (13:36 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 31 Oct 2014 12:36:19 +0000 (13:36 +0100)
commit0c6c5d7bcb1b616161a98356495adaeed2568dda
treed1d0633944b81b3012669452c93ca61aa1f10e50
parentd15a94ba202d634e427703c4530c97a20106d6d7
avcodec/mjpegenc: use av_freep(), avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mjpegenc.c