]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/qcp.c
lavf/mxfenc: better error handling with invalid frame rate.
[ffmpeg] / libavformat / qcp.c
index 4d91c05e6e50b8541a097717089c88a0a616ef5b..11fc71a46689dcb18643082d543d4682eae4f1fd 100644 (file)
@@ -98,7 +98,7 @@ static int qcp_read_header(AVFormatContext *s)
     st->codec->channels   = 1;
     avio_read(pb, buf, 16);
     if (is_qcelp_13k_guid(buf)) {
-        st->codec->codec_id = CODEC_ID_QCELP;
+        st->codec->codec_id = AV_CODEC_ID_QCELP;
     } else if (!memcmp(buf, guid_evrc, 16)) {
         av_log(s, AV_LOG_ERROR, "EVRC codec is not supported.\n");
         return AVERROR_PATCHWELCOME;