Commit c4396c24 authored by Kostya Shishkov's avatar Kostya Shishkov

Remove useless code causing crash in Targa decoder

Originally committed as revision 19892 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 78a9a77e
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment