ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Thu May 1 19:53:24 2025 +0200| [c914fd2977e96f82082559bec867a6af743f3ba5] | committer: Andreas Rheinhardt
avformat/av1dec: Remove redundant avio_tell() AV1DemuxContext.temporal_unit_size is zero after reading the header, so the position set when reading the header will not be used at all. Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c914fd2977e96f82082559bec867a6af743f3ba5 --- libavformat/av1dec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/av1dec.c b/libavformat/av1dec.c index 38001b124f..536422959e 100644 --- a/libavformat/av1dec.c +++ b/libavformat/av1dec.c @@ -97,8 +97,6 @@ static int av1_read_header(AVFormatContext *s) if (ret < 0) return ret; - c->pos = 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".