diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2009-09-17 05:01:27 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2009-09-17 05:01:27 +0000 |
commit | c4396c241c2a11089fb4c84861a0540ae957bb1a (patch) | |
tree | e78a79f01989616527f087f909e80f1b3fe77167 /libavcodec/targa.c | |
parent | 78a9a77eace8aaa8fa4873d884035be2cf1185c4 (diff) | |
download | ffmpeg-c4396c241c2a11089fb4c84861a0540ae957bb1a.tar.gz |
Remove useless code causing crash in Targa decoder
Originally committed as revision 19892 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/targa.c')
-rw-r--r-- | libavcodec/targa.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/targa.c b/libavcodec/targa.c index 3e7903ae52..b6fe5dfed5 100644 --- a/libavcodec/targa.c +++ b/libavcodec/targa.c @@ -189,7 +189,6 @@ static int decode_frame(AVCodecContext *avctx, *pal++ = (b << 16) | (g << 8) | r; } p->palette_has_changed = 1; - avctx->palctrl->palette_changed = 0; } } if((compr & (~TGA_RLE)) == TGA_NODATA) |