[FFmpeg-cvslog] avformat/av1dec: Remove redundant avio_tell()
Andreas Rheinhardt
git at videolan.org
Thu May 15 03:02:56 EEST 2025
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at 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.rheinhardt at 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;
}
More information about the ffmpeg-cvslog
mailing list