You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/bonk: Don't set data_offset to what it would be set to anyway
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user