X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fwc3movie.c;h=836f567a205732954beab2456bea90e0420a4657;hb=18b0c39f99eee508107c47345494e535b8757434;hp=d79d7687f49b8b2255a30aaabca85b4d31f0c825;hpb=88beb2df982aa4de257f742ff41f777927cc5173;p=ffmpeg diff --git a/libavformat/wc3movie.c b/libavformat/wc3movie.c index d79d7687f49..836f567a205 100644 --- a/libavformat/wc3movie.c +++ b/libavformat/wc3movie.c @@ -169,7 +169,7 @@ static int wc3_read_header(AVFormatContext *s) avpriv_set_pts_info(st, 33, 1, WC3_FRAME_FPS); wc3->video_stream_index = st->index; st->codec->codec_type = AVMEDIA_TYPE_VIDEO; - st->codec->codec_id = CODEC_ID_XAN_WC3; + st->codec->codec_id = AV_CODEC_ID_XAN_WC3; st->codec->codec_tag = 0; /* no fourcc */ st->codec->width = wc3->width; st->codec->height = wc3->height; @@ -180,7 +180,7 @@ static int wc3_read_header(AVFormatContext *s) avpriv_set_pts_info(st, 33, 1, WC3_FRAME_FPS); wc3->audio_stream_index = st->index; st->codec->codec_type = AVMEDIA_TYPE_AUDIO; - st->codec->codec_id = CODEC_ID_PCM_S16LE; + st->codec->codec_id = AV_CODEC_ID_PCM_S16LE; st->codec->codec_tag = 1; st->codec->channels = WC3_AUDIO_CHANNELS; st->codec->bits_per_coded_sample = WC3_AUDIO_BITS; @@ -293,7 +293,7 @@ static int wc3_read_close(AVFormatContext *s) AVInputFormat ff_wc3_demuxer = { .name = "wc3movie", - .long_name = NULL_IF_CONFIG_SMALL("Wing Commander III movie format"), + .long_name = NULL_IF_CONFIG_SMALL("Wing Commander III movie"), .priv_data_size = sizeof(Wc3DemuxContext), .read_probe = wc3_probe, .read_header = wc3_read_header,