diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-01-25 18:46:21 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-01-25 18:49:09 +0100 |
commit | 2c3107c3e9c9a8885fc0860ac471dae2f1054586 (patch) | |
tree | d4205eba25f736a08300a2dbb5c1330a747ee0ca /libavformat/bonk.c | |
parent | 6f79f0971e8ccf6c7a2b8eb1dbc5b64fdd77ca0f (diff) |
avformat/bonk: remove unused variable
Diffstat (limited to 'libavformat/bonk.c')
-rw-r--r-- | libavformat/bonk.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |