]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/oggparsespeex.c
lavf/mxfenc: better error handling with invalid frame rate.
[ffmpeg] / libavformat / oggparsespeex.c
index 435ed0cedf9ca5617aca42d44c6f201053a7eedd..e4dfec52186eeb83db079403b8246f2b9f830440 100644 (file)
@@ -55,7 +55,7 @@ static int speex_header(AVFormatContext *s, int idx) {
     if (spxp->seq == 0) {
         int frames_per_packet;
         st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
-        st->codec->codec_id = CODEC_ID_SPEEX;
+        st->codec->codec_id = AV_CODEC_ID_SPEEX;
 
         st->codec->sample_rate = AV_RL32(p + 36);
         st->codec->channels = AV_RL32(p + 48);