You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/av1: reduce the scope of a variable
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -126,11 +126,10 @@ static const AVClass av1_demuxer_class = {
|
|||||||
|
|
||||||
static int leb(AVIOContext *pb, uint32_t *len, int eof) {
|
static int leb(AVIOContext *pb, uint32_t *len, int eof) {
|
||||||
int more, i = 0;
|
int more, i = 0;
|
||||||
uint8_t byte;
|
|
||||||
*len = 0;
|
*len = 0;
|
||||||
do {
|
do {
|
||||||
unsigned bits;
|
unsigned bits;
|
||||||
byte = avio_r8(pb);
|
int byte = avio_r8(pb);
|
||||||
if (pb->error)
|
if (pb->error)
|
||||||
return pb->error;
|
return pb->error;
|
||||||
if (pb->eof_reached)
|
if (pb->eof_reached)
|
||||||
|
Reference in New Issue
Block a user