comparison vmdav.c @ 9553:4cab394c16ea libavcodec

Remove useless assignment during initialization for some decoders
author kostya
date Fri, 24 Apr 2009 14:09:24 +0000
parents 54bc8a2727b0
children 5da84f0d0a55
comparison
equal deleted inserted replaced
9552:4fd9ac9978e5 9553:4cab394c16ea
357 g = raw_palette[palette_index++] * 4; 357 g = raw_palette[palette_index++] * 4;
358 b = raw_palette[palette_index++] * 4; 358 b = raw_palette[palette_index++] * 4;
359 palette32[i] = (r << 16) | (g << 8) | (b); 359 palette32[i] = (r << 16) | (g << 8) | (b);
360 } 360 }
361 361
362 s->frame.data[0] = s->prev_frame.data[0] = NULL;
363
364 return 0; 362 return 0;
365 } 363 }
366 364
367 static int vmdvideo_decode_frame(AVCodecContext *avctx, 365 static int vmdvideo_decode_frame(AVCodecContext *avctx,
368 void *data, int *data_size, 366 void *data, int *data_size,