X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fapc.c;h=2ccf7946aac57c22cb673a8860cb28280f50d1da;hb=a9a1bc56abf1fa79104996bf7b98b12ca42cd32c;hp=2e160ccab52184c303a95d4ff279a1fd1f5293d5;hpb=88beb2df982aa4de257f742ff41f777927cc5173;p=ffmpeg diff --git a/libavformat/apc.c b/libavformat/apc.c index 2e160ccab52..2ccf7946aac 100644 --- a/libavformat/apc.c +++ b/libavformat/apc.c @@ -44,7 +44,7 @@ static int apc_read_header(AVFormatContext *s) return AVERROR(ENOMEM); st->codec->codec_type = AVMEDIA_TYPE_AUDIO; - st->codec->codec_id = CODEC_ID_ADPCM_IMA_APC; + st->codec->codec_id = AV_CODEC_ID_ADPCM_IMA_APC; avio_rl32(pb); /* number of samples */ st->codec->sample_rate = avio_rl32(pb); @@ -83,7 +83,7 @@ static int apc_read_packet(AVFormatContext *s, AVPacket *pkt) AVInputFormat ff_apc_demuxer = { .name = "apc", - .long_name = NULL_IF_CONFIG_SMALL("CRYO APC format"), + .long_name = NULL_IF_CONFIG_SMALL("CRYO APC"), .read_probe = apc_probe, .read_header = apc_read_header, .read_packet = apc_read_packet,