X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fncdec.c;h=8cb7ed4bd49b13d16fd37dc9d54f4422d42dea66;hb=5864ce13d188260998bbf49a2a774fa9bd445c10;hp=bd4ff6827b5cd16821834b17b8d8a7d45c3583e4;hpb=e4c00aca966e0b22777f3d2d6fe9c993151cc5f8;p=ffmpeg diff --git a/libavformat/ncdec.c b/libavformat/ncdec.c index bd4ff6827b5..8cb7ed4bd49 100644 --- a/libavformat/ncdec.c +++ b/libavformat/ncdec.c @@ -52,7 +52,7 @@ static int nc_read_header(AVFormatContext *s) return AVERROR(ENOMEM); st->codec->codec_type = AVMEDIA_TYPE_VIDEO; - st->codec->codec_id = CODEC_ID_MPEG4; + st->codec->codec_id = AV_CODEC_ID_MPEG4; st->need_parsing = AVSTREAM_PARSE_FULL; avpriv_set_pts_info(st, 64, 1, 100); @@ -93,7 +93,7 @@ static int nc_read_packet(AVFormatContext *s, AVPacket *pkt) AVInputFormat ff_nc_demuxer = { .name = "nc", - .long_name = NULL_IF_CONFIG_SMALL("NC camera feed format"), + .long_name = NULL_IF_CONFIG_SMALL("NC camera feed"), .read_probe = nc_probe, .read_header = nc_read_header, .read_packet = nc_read_packet,