aboutsummaryrefslogtreecommitdiff
path: root/libavdevice/libcdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavdevice/libcdio.c')
-rw-r--r--libavdevice/libcdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/libcdio.c b/libavdevice/libcdio.c
index c590995561..bcef7fbe21 100644
--- a/libavdevice/libcdio.c
+++ b/libavdevice/libcdio.c
@@ -83,9 +83,9 @@ static av_cold int read_header(AVFormatContext *ctx)
st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
if (s->drive->bigendianp)
- st->codec->codec_id = CODEC_ID_PCM_S16BE;
+ st->codec->codec_id = AV_CODEC_ID_PCM_S16BE;
else
- st->codec->codec_id = CODEC_ID_PCM_S16LE;
+ st->codec->codec_id = AV_CODEC_ID_PCM_S16LE;
st->codec->sample_rate = 44100;
st->codec->channels = 2;
if (s->drive->audio_last_sector != CDIO_INVALID_LSN &&