diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-10-16 15:16:59 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-10-16 15:16:59 +0000 |
commit | 45fc24a005c170b3fea1c028a49fdb6be61875bd (patch) | |
tree | e17e8bd3cf154b5e1f64898eea24307e24de4fef | |
parent | 0b7f39c9d425db649f14cbc927fbce5cdc20828f (diff) | |
download | ffmpeg-streaming-45fc24a005c170b3fea1c028a49fdb6be61875bd.zip ffmpeg-streaming-45fc24a005c170b3fea1c028a49fdb6be61875bd.tar.gz |
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
-rw-r--r-- | libavcodec/indeo2.c | 1 | ||||
-rw-r--r-- | libavcodec/loco.c | 1 | ||||
-rw-r--r-- | libavcodec/qdrw.c | 1 | ||||
-rw-r--r-- | libavcodec/truemotion2.c | 1 | ||||
-rw-r--r-- | libavcodec/ulti.c | 1 | ||||
-rw-r--r-- | libavcodec/wnv1.c | 1 | ||||
-rw-r--r-- | libavcodec/xl.c | 1 |
7 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/indeo2.c b/libavcodec/indeo2.c index 87d1c90..52aede1 100644 --- a/libavcodec/indeo2.c +++ b/libavcodec/indeo2.c @@ -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; } diff --git a/libavcodec/loco.c b/libavcodec/loco.c index 9a01810..57fba82 100644 --- a/libavcodec/loco.c +++ b/libavcodec/loco.c @@ -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; } diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c index ae8a71a..f0c0350 100644 --- a/libavcodec/qdrw.c +++ b/libavcodec/qdrw.c @@ -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; } diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c index d73c88b..44b89e7 100644 --- a/libavcodec/truemotion2.c +++ b/libavcodec/truemotion2.c @@ -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; } diff --git a/libavcodec/ulti.c b/libavcodec/ulti.c index a5aec1a..12dc6ac 100644 --- a/libavcodec/ulti.c +++ b/libavcodec/ulti.c @@ -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; } diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c index 9f13fd5..9a5a77f 100644 --- a/libavcodec/wnv1.c +++ b/libavcodec/wnv1.c @@ -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; } diff --git a/libavcodec/xl.c b/libavcodec/xl.c index 277e92a..2a5110c 100644 --- a/libavcodec/xl.c +++ b/libavcodec/xl.c @@ -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; } |