summaryrefslogtreecommitdiff
path: root/libavformat/daud.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/daud.c')
-rw-r--r--libavformat/daud.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/daud.c b/libavformat/daud.c
index a25c0bff4c..bfbcf0a6b0 100644
--- a/libavformat/daud.c
+++ b/libavformat/daud.c
@@ -25,7 +25,7 @@ static int daud_header(AVFormatContext *s) {
if (!st)
return AVERROR(ENOMEM);
st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
- st->codec->codec_id = CODEC_ID_PCM_S24DAUD;
+ st->codec->codec_id = AV_CODEC_ID_PCM_S24DAUD;
st->codec->codec_tag = MKTAG('d', 'a', 'u', 'd');
st->codec->channels = 6;
st->codec->sample_rate = 96000;
@@ -84,8 +84,8 @@ AVOutputFormat ff_daud_muxer = {
.name = "daud",
.long_name = NULL_IF_CONFIG_SMALL("D-Cinema audio"),
.extensions = "302",
- .audio_codec = CODEC_ID_PCM_S24DAUD,
- .video_codec = CODEC_ID_NONE,
+ .audio_codec = AV_CODEC_ID_PCM_S24DAUD,
+ .video_codec = AV_CODEC_ID_NONE,
.write_header = daud_write_header,
.write_packet = daud_write_packet,
.flags = AVFMT_NOTIMESTAMPS,