ffv1dec: support decoding older 1.3 bitstream variant
[ffmpeg.git] / libavcodec / sanm.c
index 2a0fb77..3736bd7 100644 (file)
@@ -1272,7 +1272,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
 AVCodec ff_sanm_decoder = {
     .name           = "sanm",
     .type           = AVMEDIA_TYPE_VIDEO,
-    .id             = CODEC_ID_SANM,
+    .id             = AV_CODEC_ID_SANM,
     .priv_data_size = sizeof(SANMVideoContext),
     .init           = decode_init,
     .close          = decode_end,