X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fqcp.c;h=11fc71a46689dcb18643082d543d4682eae4f1fd;hb=6b3484dcbc6fe6a5f3d0919922790592c9d5a608;hp=929fce48e9aee4b566c20887d37049a58d94e4e2;hpb=87df986dcf90dcda2d10d9c3b3c84656cdd032aa;p=ffmpeg diff --git a/libavformat/qcp.c b/libavformat/qcp.c index 929fce48e9a..11fc71a4668 100644 --- a/libavformat/qcp.c +++ b/libavformat/qcp.c @@ -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,