Remove useless code causing crash in Targa decoder
Originally committed as revision 19892 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
78a9a77eac
commit
c4396c241c
1 changed files with 0 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue