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:
parent
a5e45988ac
commit
20584cdd89
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user