]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/8bps.c
dss_sp: use lowercase codec name without whitespace
[ffmpeg] / libavcodec / 8bps.c
index 552e926c224e1a2014dd4d6d42efcf05aa0517fb..3fd15e05eb42bdda4662dce1bc526a72a66c311d 100644 (file)
@@ -159,7 +159,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
         c->planemap[0] = 0; // 1st plane is palette indexes
         break;
     case 24:
-        avctx->pix_fmt = avctx->get_format(avctx, pixfmt_rgb24);
+        avctx->pix_fmt = ff_get_format(avctx, pixfmt_rgb24);
         c->planes      = 3;
         c->planemap[0] = 2; // 1st plane is red
         c->planemap[1] = 1; // 2nd plane is green
@@ -187,11 +187,11 @@ static av_cold int decode_init(AVCodecContext *avctx)
 
 AVCodec ff_eightbps_decoder = {
     .name           = "8bps",
+    .long_name      = NULL_IF_CONFIG_SMALL("QuickTime 8BPS video"),
     .type           = AVMEDIA_TYPE_VIDEO,
     .id             = AV_CODEC_ID_8BPS,
     .priv_data_size = sizeof(EightBpsContext),
     .init           = decode_init,
     .decode         = decode_frame,
     .capabilities   = CODEC_CAP_DR1,
-    .long_name      = NULL_IF_CONFIG_SMALL("QuickTime 8BPS video"),
 };