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)