summaryrefslogtreecommitdiff
path: root/libavformat/microdvdenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/microdvdenc.c')
-rw-r--r--libavformat/microdvdenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/microdvdenc.c b/libavformat/microdvdenc.c
index b2abc547e6..ba97444044 100644
--- a/libavformat/microdvdenc.c
+++ b/libavformat/microdvdenc.c
@@ -26,7 +26,7 @@ static int microdvd_write_header(struct AVFormatContext *s)
{
AVCodecContext *avctx = s->streams[0]->codec;
- if (s->nb_streams != 1 || avctx->codec_id != CODEC_ID_MICRODVD) {
+ if (s->nb_streams != 1 || avctx->codec_id != AV_CODEC_ID_MICRODVD) {
av_log(s, AV_LOG_ERROR, "Exactly one MicroDVD stream is needed.\n");
return -1;
}
@@ -47,5 +47,5 @@ AVOutputFormat ff_microdvd_muxer = {
.write_header = microdvd_write_header,
.write_packet = ff_raw_write_packet,
.flags = AVFMT_NOTIMESTAMPS,
- .subtitle_codec = CODEC_ID_MICRODVD,
+ .subtitle_codec = AV_CODEC_ID_MICRODVD,
};