X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fpva.c;h=ff8ccee8524816a4e363482f4a56499aa69ea925;hb=7427d1ca4ab202def24fc3cefc4401a351d7248c;hp=97efa61e4cf24c16435c9ad1b14911d472484b7c;hpb=c6963a220d5849fd5399c056b21ec66de7a0df37;p=ffmpeg diff --git a/libavformat/pva.c b/libavformat/pva.c index 97efa61e4cf..ff8ccee8524 100644 --- a/libavformat/pva.c +++ b/libavformat/pva.c @@ -60,7 +60,7 @@ static int pva_read_header(AVFormatContext *s) { if (!(st = avformat_new_stream(s, NULL))) return AVERROR(ENOMEM); st->codec->codec_type = AVMEDIA_TYPE_VIDEO; - st->codec->codec_id = CODEC_ID_MPEG2VIDEO; + st->codec->codec_id = AV_CODEC_ID_MPEG2VIDEO; st->need_parsing = AVSTREAM_PARSE_FULL; avpriv_set_pts_info(st, 32, 1, 90000); av_add_index_entry(st, 0, 0, 0, 0, AVINDEX_KEYFRAME); @@ -68,7 +68,7 @@ static int pva_read_header(AVFormatContext *s) { if (!(st = avformat_new_stream(s, NULL))) return AVERROR(ENOMEM); st->codec->codec_type = AVMEDIA_TYPE_AUDIO; - st->codec->codec_id = CODEC_ID_MP2; + st->codec->codec_id = AV_CODEC_ID_MP2; st->need_parsing = AVSTREAM_PARSE_FULL; avpriv_set_pts_info(st, 33, 1, 90000); av_add_index_entry(st, 0, 0, 0, 0, AVINDEX_KEYFRAME); @@ -216,7 +216,7 @@ static int64_t pva_read_timestamp(struct AVFormatContext *s, int stream_index, AVInputFormat ff_pva_demuxer = { .name = "pva", - .long_name = NULL_IF_CONFIG_SMALL("TechnoTrend PVA file and stream format"), + .long_name = NULL_IF_CONFIG_SMALL("TechnoTrend PVA"), .priv_data_size = sizeof(PVAContext), .read_probe = pva_probe, .read_header = pva_read_header,