diff options
Diffstat (limited to 'libavformat/bintext.c')
-rw-r--r-- | libavformat/bintext.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/bintext.c b/libavformat/bintext.c index 58db3cf71a..5ad30b3519 100644 --- a/libavformat/bintext.c +++ b/libavformat/bintext.c @@ -148,7 +148,7 @@ static int bintext_read_header(AVFormatContext *s) AVStream *st = init_stream(s); if (!st) return AVERROR(ENOMEM); - st->codec->codec_id = CODEC_ID_BINTEXT; + st->codec->codec_id = AV_CODEC_ID_BINTEXT; st->codec->extradata_size = 2; st->codec->extradata = av_malloc(st->codec->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); @@ -206,7 +206,7 @@ static int xbin_read_header(AVFormatContext *s) st->codec->extradata_size += 48; if ((flags & BINTEXT_FONT)) st->codec->extradata_size += fontheight * (flags & 0x10 ? 512 : 256); - st->codec->codec_id = flags & 4 ? CODEC_ID_XBIN : CODEC_ID_BINTEXT; + st->codec->codec_id = flags & 4 ? AV_CODEC_ID_XBIN : AV_CODEC_ID_BINTEXT; st->codec->extradata = av_malloc(st->codec->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); if (!st->codec->extradata) @@ -239,7 +239,7 @@ static int adf_read_header(AVFormatContext *s) st = init_stream(s); if (!st) return AVERROR(ENOMEM); - st->codec->codec_id = CODEC_ID_BINTEXT; + st->codec->codec_id = AV_CODEC_ID_BINTEXT; st->codec->extradata_size = 2 + 48 + 4096; st->codec->extradata = av_malloc(st->codec->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); @@ -296,7 +296,7 @@ static int idf_read_header(AVFormatContext *s) st = init_stream(s); if (!st) return AVERROR(ENOMEM); - st->codec->codec_id = CODEC_ID_IDF; + st->codec->codec_id = AV_CODEC_ID_IDF; st->codec->extradata_size = 2 + 48 + 4096; st->codec->extradata = av_malloc(st->codec->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); |