]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/intelh263dec.c
png: check bit depth for PAL8/Y400A pixel formats.
[ffmpeg] / libavcodec / intelh263dec.c
index 8347c79021c15f2451290a5b9afecb355261e9d2..4f983ab7271b1a5e841b8580fb4d1577411a1892 100644 (file)
@@ -65,8 +65,8 @@ int ff_intel_h263_decode_picture_header(MpegEncContext *s)
     s->pb_frame = get_bits1(&s->gb);
 
     if (format < 6) {
-        s->width = h263_format[format][0];
-        s->height = h263_format[format][1];
+        s->width = ff_h263_format[format][0];
+        s->height = ff_h263_format[format][1];
         s->avctx->sample_aspect_ratio.num = 12;
         s->avctx->sample_aspect_ratio.den = 11;
     } else {
@@ -133,7 +133,6 @@ AVCodec ff_h263i_decoder = {
     .close          = ff_h263_decode_end,
     .decode         = ff_h263_decode_frame,
     .capabilities   = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
-    .long_name = NULL_IF_CONFIG_SMALL("Intel H.263"),
-    .pix_fmts= ff_pixfmt_list_420,
+    .long_name      = NULL_IF_CONFIG_SMALL("Intel H.263"),
+    .pix_fmts       = ff_pixfmt_list_420,
 };
-