Mercurial > libavcodec.hg
comparison truemotion2.c @ 10413:8a137661f31e libavcodec
Do not try to free memory that was never allocated (partial revert of r20231).
author | cehoyos |
---|---|
date | Fri, 16 Oct 2009 15:16:59 +0000 |
parents | 136334ad62b3 |
children | 8a4984c5cacc |
comparison
equal
deleted
inserted
replaced
10412:9d31db7bec63 | 10413:8a137661f31e |
---|---|
864 av_free(l->V2); | 864 av_free(l->V2); |
865 } | 865 } |
866 | 866 |
867 if (pic->data[0]) | 867 if (pic->data[0]) |
868 avctx->release_buffer(avctx, pic); | 868 avctx->release_buffer(avctx, pic); |
869 av_freep(&l->pic); | |
870 | 869 |
871 return 0; | 870 return 0; |
872 } | 871 } |
873 | 872 |
874 AVCodec truemotion2_decoder = { | 873 AVCodec truemotion2_decoder = { |