Skip to content

Commit

Permalink
avformat/bonk: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpl committed Jan 25, 2023
1 parent 6f79f09 commit 2c3107c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavformat/bonk.c
Expand Up @@ -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;
Expand Down

0 comments on commit 2c3107c

Please sign in to comment.