ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | 
Mon Sep 12 15:51:11 2022 +0200| [2c23cd0181ef18c8dd968218d45c15c1b035ba65] | 
committer: Andreas Rheinhardt

avformat/bonk: Don't set data_offset to what it would be set to anyway

Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>

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

 libavformat/bonk.c | 1 -
 1 file changed, 1 deletion(-)

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

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to