Do not try to free memory that was never allocated (partial revert of r20231).

Originally committed as revision 20252 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Carl Eugen Hoyos 2009-10-16 15:16:59 +00:00
parent 0b7f39c9d4
commit 45fc24a005
7 changed files with 0 additions and 7 deletions

View File

@ -219,7 +219,6 @@ static av_cold int ir2_decode_end(AVCodecContext *avctx){
if (pic->data[0])
avctx->release_buffer(avctx, pic);
av_freep(&ic->picture);
return 0;
}

View File

@ -281,7 +281,6 @@ static av_cold int decode_end(AVCodecContext *avctx){
if (pic->data[0])
avctx->release_buffer(avctx, pic);
av_freep(&l->pic);
return 0;
}

View File

@ -146,7 +146,6 @@ static av_cold int decode_end(AVCodecContext *avctx){
if (pic->data[0])
avctx->release_buffer(avctx, pic);
av_freep(&a->pic);
return 0;
}

View File

@ -866,7 +866,6 @@ static av_cold int decode_end(AVCodecContext *avctx){
if (pic->data[0])
avctx->release_buffer(avctx, pic);
av_freep(&l->pic);
return 0;
}

View File

@ -61,7 +61,6 @@ static av_cold int ulti_decode_end(AVCodecContext *avctx){
if (pic->data[0])
avctx->release_buffer(avctx, pic);
av_freep(&s->frame);
return 0;
}

View File

@ -149,7 +149,6 @@ static av_cold int decode_end(AVCodecContext *avctx){
if (pic->data[0])
avctx->release_buffer(avctx, pic);
av_freep(&l->pic);
return 0;
}

View File

@ -134,7 +134,6 @@ static av_cold int decode_end(AVCodecContext *avctx){
if (pic->data[0])
avctx->release_buffer(avctx, pic);
av_freep(&a->pic);
return 0;
}