]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/oggparseopus.c
ffplay: get rid of void casts in the option table
[ffmpeg] / libavformat / oggparseopus.c
index b6357570eae688ce22e2457776a6b3cb8e0d98be..0e8f1ca5bb1a894353427689322746996e0434b6 100644 (file)
@@ -52,7 +52,7 @@ static int opus_header(AVFormatContext *avf, int idx)
         if (os->psize < OPUS_HEAD_SIZE || (AV_RL8(packet + 8) & 0xF0) != 0)
             return AVERROR_INVALIDDATA;
         st->codec->codec_type  = AVMEDIA_TYPE_AUDIO;
-        st->codec->codec_id    = CODEC_ID_OPUS;
+        st->codec->codec_id    = AV_CODEC_ID_OPUS;
         st->codec->channels    = AV_RL8 (packet + 9);
         priv->pre_skip         = AV_RL16(packet + 10);
         /*orig_sample_rate     = AV_RL32(packet + 12);*/