]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/samidec.c
ffplay: get rid of void casts in the option table
[ffmpeg] / libavformat / samidec.c
index 5995d86fcf2b79aa5287fc41d0995ab2375de478..5f29364028eafe739311840145f7c604fc8dd13d 100644 (file)
@@ -56,7 +56,7 @@ static int sami_read_header(AVFormatContext *s)
         return AVERROR(ENOMEM);
     avpriv_set_pts_info(st, 64, 1, 1000);
     st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE;
-    st->codec->codec_id   = CODEC_ID_SAMI;
+    st->codec->codec_id   = AV_CODEC_ID_SAMI;
 
     av_bprint_init(&buf,     0, AV_BPRINT_SIZE_UNLIMITED);
     av_bprint_init(&hdr_buf, 0, AV_BPRINT_SIZE_UNLIMITED);