changeset 10184:9a577b684548 libavcodec

Remove useless code causing crash in Targa decoder
author kostya
date Thu, 17 Sep 2009 05:01:27 +0000
parents f2d62b685d49
children 25752b5ce17a
files targa.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/targa.c	Wed Sep 16 22:57:00 2009 +0000
+++ b/targa.c	Thu Sep 17 05:01:27 2009 +0000
@@ -189,7 +189,6 @@
                 *pal++ = (b << 16) | (g << 8) | r;
             }
             p->palette_has_changed = 1;
-            avctx->palctrl->palette_changed = 0;
         }
     }
     if((compr & (~TGA_RLE)) == TGA_NODATA)