[FFmpeg-devel] [PATCH 2/2] lavf/dv: stop setting a random video bitrate

Anton Khirnov anton at khirnov.net
Tue Jul 4 20:26:04 EEST 2023


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);
-- 
2.40.1



More information about the ffmpeg-devel mailing list