[FFmpeg-cvslog] lavf/dv: stop setting a random video bitrate

Anton Khirnov git at videolan.org
Fri Jul 7 13:16:10 EEST 2023


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Jul  4 18:27:04 2023 +0200| [ac616afa62c3164ddad7ac8d2d6fb94d6effa3f6] | committer: Anton Khirnov

lavf/dv: stop setting a random video bitrate

A real value is determined from the bytestream.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ac616afa62c3164ddad7ac8d2d6fb94d6effa3f6
---

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



More information about the ffmpeg-cvslog mailing list