Commit fd879a7d authored by melanson's avatar melanson

free that last frame


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4095 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b899976d
...@@ -280,6 +280,10 @@ static int decode_init(AVCodecContext *avctx){ ...@@ -280,6 +280,10 @@ static int decode_init(AVCodecContext *avctx){
static int decode_end(AVCodecContext *avctx){ static int decode_end(AVCodecContext *avctx){
QpegContext * const a = avctx->priv_data; QpegContext * const a = avctx->priv_data;
AVFrame * const p= (AVFrame*)&a->pic;
if(p->data[0])
avctx->release_buffer(avctx, p);
av_free(a->refdata); av_free(a->refdata);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment