Commit 993b46c8 authored by kostya's avatar kostya

Remove useless code causing crash in Targa decoder

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19892 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 88f8cd08
......@@ -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