]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/qcp.c
lavf/mxfenc: better error handling with invalid frame rate.
[ffmpeg] / libavformat / qcp.c
index 929fce48e9aee4b566c20887d37049a58d94e4e2..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;
@@ -188,7 +188,7 @@ static int qcp_read_packet(AVFormatContext *s, AVPacket *pkt)
 
 AVInputFormat ff_qcp_demuxer = {
     .name           = "qcp",
-    .long_name      = NULL_IF_CONFIG_SMALL("QCP format"),
+    .long_name      = NULL_IF_CONFIG_SMALL("QCP"),
     .priv_data_size = sizeof(QCPContext),
     .read_probe     = qcp_probe,
     .read_header    = qcp_read_header,