Message ID | AS8P250MB07441052EB4130982B6144D78F449@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | 2c23cd0181ef18c8dd968218d45c15c1b035ba65 |
Headers | show |
Series | [FFmpeg-devel] avformat/bonk: Don't set data_offset to what it would be set to anyway | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> > --- > 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; > } Will apply tomorrow unless there are objections. - Andreas
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; }
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavformat/bonk.c | 1 - 1 file changed, 1 deletion(-)