X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmvi.c;h=0833e11b5e4e5f7c6a929e041cec48761a373391;hb=18b0c39f99eee508107c47345494e535b8757434;hp=0444b4a00c3924773ab6b8473970c6cddfde4b71;hpb=16e25ef34b375dbc6789b6b0da7d077c1dcefe88;p=ffmpeg diff --git a/libavformat/mvi.c b/libavformat/mvi.c index 0444b4a00c3..0833e11b5e4 100644 --- a/libavformat/mvi.c +++ b/libavformat/mvi.c @@ -79,14 +79,14 @@ static int read_header(AVFormatContext *s) avpriv_set_pts_info(ast, 64, 1, ast->codec->sample_rate); ast->codec->codec_type = AVMEDIA_TYPE_AUDIO; - ast->codec->codec_id = CODEC_ID_PCM_U8; + ast->codec->codec_id = AV_CODEC_ID_PCM_U8; ast->codec->channels = 1; ast->codec->bits_per_coded_sample = 8; ast->codec->bit_rate = ast->codec->sample_rate * 8; avpriv_set_pts_info(vst, 64, msecs_per_frame, 1000000); vst->codec->codec_type = AVMEDIA_TYPE_VIDEO; - vst->codec->codec_id = CODEC_ID_MOTIONPIXELS; + vst->codec->codec_id = AV_CODEC_ID_MOTIONPIXELS; mvi->get_int = (vst->codec->width * vst->codec->height < (1 << 16)) ? avio_rl16 : avio_rl24; @@ -126,7 +126,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) AVInputFormat ff_mvi_demuxer = { .name = "mvi", - .long_name = NULL_IF_CONFIG_SMALL("Motion Pixels MVI format"), + .long_name = NULL_IF_CONFIG_SMALL("Motion Pixels MVI"), .priv_data_size = sizeof(MviDemuxContext), .read_header = read_header, .read_packet = read_packet,