From c4396c241c2a11089fb4c84861a0540ae957bb1a Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Thu, 17 Sep 2009 05:01:27 +0000 Subject: Remove useless code causing crash in Targa decoder Originally committed as revision 19892 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/targa.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/targa.c') 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) -- cgit v1.2.3