diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-12 15:51:11 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-16 17:49:40 +0200 |
commit | 2c23cd0181ef18c8dd968218d45c15c1b035ba65 (patch) | |
tree | 4dd5b478f3954a660d1cb8e53e02657fd950544b /libavformat/bonk.c | |
parent | aaf6d85283f2d7fbcec7af3f8b4d4723113fc6d8 (diff) |
avformat/bonk: Don't set data_offset to what it would be set to anyway
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/bonk.c')
-rw-r--r-- | libavformat/bonk.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/bonk.c b/libavformat/bonk.c index fc400979b3..0fff0b5bda 100644 --- a/libavformat/bonk.c +++ b/libavformat/bonk.c @@ -79,7 +79,6 @@ static int bonk_read_header(AVFormatContext *s) return AVERROR_INVALIDDATA; st->duration = AV_RL32(st->codecpar->extradata + 1) / st->codecpar->ch_layout.nb_channels; avpriv_set_pts_info(st, 64, 1, st->codecpar->sample_rate); - ffformatcontext(s)->data_offset = avio_tell(s->pb); return 0; } |