diff mbox series

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

Message ID 20230704172604.15781-2-anton@khirnov.net
State Accepted
Commit ac616afa62c3164ddad7ac8d2d6fb94d6effa3f6
Headers show
Series [FFmpeg-devel,1/2] lavc/dvdec: export bitrate | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Anton Khirnov July 4, 2023, 5:26 p.m. UTC
A real value is determined from the bytestream.
---
 libavformat/dv.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Paul B Mahol July 6, 2023, 8:33 p.m. UTC | #1
LGTM
diff mbox series

Patch

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