comparison interplayvideo.c @ 1545:b340e83b8d0d libavcodec

gcc->C99 and warning fixes patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
author michael
date Sun, 19 Oct 2003 21:05:41 +0000
parents 26eb7678cb46
children 6b224ca24033
comparison
equal deleted inserted replaced
1544:2335dcb71152 1545:b340e83b8d0d
874 874
875 s->avctx = avctx; 875 s->avctx = avctx;
876 876
877 if (s->avctx->extradata_size != sizeof(AVPaletteControl)) { 877 if (s->avctx->extradata_size != sizeof(AVPaletteControl)) {
878 printf (" Interplay video: expected extradata_size of %d\n", 878 printf (" Interplay video: expected extradata_size of %d\n",
879 sizeof(AVPaletteControl)); 879 (int)sizeof(AVPaletteControl));
880 return -1; 880 return -1;
881 } 881 }
882 882
883 avctx->pix_fmt = PIX_FMT_PAL8; 883 avctx->pix_fmt = PIX_FMT_PAL8;
884 avctx->has_b_frames = 0; 884 avctx->has_b_frames = 0;