summaryrefslogtreecommitdiff
path: root/libavcodec/targa.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2009-09-17 05:01:27 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-09-17 05:01:27 +0000
commitc4396c241c2a11089fb4c84861a0540ae957bb1a (patch)
treee78a79f01989616527f087f909e80f1b3fe77167 /libavcodec/targa.c
parent78a9a77eace8aaa8fa4873d884035be2cf1185c4 (diff)
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.c1
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)