[FFmpeg-cvslog] avformat/fsb: Don't set data_offset manually

Andreas Rheinhardt git at videolan.org
Tue Mar 26 07:44:22 EET 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Mar 22 20:43:28 2024 +0100| [56ba83ff2d7225189cee296b6a5c33ba6619e521] | committer: Andreas Rheinhardt

avformat/fsb: Don't set data_offset manually

It is set generically to the value that it is to here.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

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

diff --git a/libavformat/fsb.c b/libavformat/fsb.c
index 4189822d8e..0febeffd56 100644
--- a/libavformat/fsb.c
+++ b/libavformat/fsb.c
@@ -157,7 +157,6 @@ static int fsb_read_header(AVFormatContext *s)
     }
 
     avio_skip(pb, offset - avio_tell(pb));
-    ffformatcontext(s)->data_offset = avio_tell(pb);
 
     avpriv_set_pts_info(st, 64, 1, par->sample_rate);
 



More information about the ffmpeg-cvslog mailing list