mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
aaf6d85283
commit
2c23cd0181
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue