[FFmpeg-cvslog] r19892 - trunk/libavcodec/targa.c

kostya subversion
Thu Sep 17 07:01:28 CEST 2009


Author: kostya
Date: Thu Sep 17 07:01:27 2009
New Revision: 19892

Log:
Remove useless code causing crash in Targa decoder

Modified:
   trunk/libavcodec/targa.c

Modified: trunk/libavcodec/targa.c
==============================================================================
--- trunk/libavcodec/targa.c	Thu Sep 17 00:57:00 2009	(r19891)
+++ trunk/libavcodec/targa.c	Thu Sep 17 07:01:27 2009	(r19892)
@@ -189,7 +189,6 @@ static int decode_frame(AVCodecContext *
                 *pal++ = (b << 16) | (g << 8) | r;
             }
             p->palette_has_changed = 1;
-            avctx->palctrl->palette_changed = 0;
         }
     }
     if((compr & (~TGA_RLE)) == TGA_NODATA)



More information about the ffmpeg-cvslog mailing list