1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avformat/av1: reduce the scope of a variable

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2023-06-03 11:23:31 -03:00
parent a5e45988ac
commit 20584cdd89

View File

@ -126,11 +126,10 @@ static const AVClass av1_demuxer_class = {
static int leb(AVIOContext *pb, uint32_t *len, int eof) {
int more, i = 0;
uint8_t byte;
*len = 0;
do {
unsigned bits;
byte = avio_r8(pb);
int byte = avio_r8(pb);
if (pb->error)
return pb->error;
if (pb->eof_reached)