[FFmpeg-cvslog] avformat/bonk: remove unused variable
Paul B Mahol
git at videolan.org
Wed Jan 25 19:44:28 EET 2023
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Jan 25 18:46:21 2023 +0100| [2c3107c3e9c9a8885fc0860ac471dae2f1054586] | committer: Paul B Mahol
avformat/bonk: remove unused variable
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2c3107c3e9c9a8885fc0860ac471dae2f1054586
---
libavformat/bonk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/bonk.c b/libavformat/bonk.c
index 7ce895fa96..bd99c553e7 100644
--- a/libavformat/bonk.c
+++ b/libavformat/bonk.c
@@ -59,7 +59,7 @@ static int bonk_read_header(AVFormatContext *s)
AVStream *st;
int ret;
- for (int i = 0; !avio_feof(s->pb); i++) {
+ while (!avio_feof(s->pb)) {
const int b = avio_r8(s->pb);
if (!b) {
uint32_t t;
More information about the ffmpeg-cvslog
mailing list