From ac616afa62c3164ddad7ac8d2d6fb94d6effa3f6 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 4 Jul 2023 18:27:04 +0200 Subject: [PATCH] lavf/dv: stop setting a random video bitrate A real value is determined from the bytestream. --- libavformat/dv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/dv.c b/libavformat/dv.c index d01ecedc62..6df93fe416 100644 --- a/libavformat/dv.c +++ b/libavformat/dv.c @@ -358,7 +358,6 @@ static int dv_init_demux(AVFormatContext *s, DVDemuxContext *c) c->fctx = s; c->vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; c->vst->codecpar->codec_id = AV_CODEC_ID_DVVIDEO; - c->vst->codecpar->bit_rate = 25000000; c->vst->start_time = 0; avpriv_set_pts_info(c->vst, 64, 1, DV_TIMESCALE_VIDEO);