aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-07-04 18:27:04 +0200
committerAnton Khirnov <anton@khirnov.net>2023-07-07 12:13:05 +0200
commitac616afa62c3164ddad7ac8d2d6fb94d6effa3f6 (patch)
tree8031803d2de5799b1daa199cb0bdb75475c9f91a
parent9b625ab6792f07fb60b3ce9f2cf5933b2fb0fa1c (diff)
downloadffmpeg-ac616afa62c3164ddad7ac8d2d6fb94d6effa3f6.tar.gz
lavf/dv: stop setting a random video bitrate
A real value is determined from the bytestream.
-rw-r--r--libavformat/dv.c1
1 files changed, 0 insertions, 1 deletions
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);