Diego Biurrun <[email protected]> writes:

>> @@ -1411,36 +1457,41 @@ static av_always_inline void idct_mb(VP8Context *s, 
>> VP8ThreadData *td,
>>              }
>>          }
>> -chroma_idct_end: ;
>> +chroma_idct_end:;
>
> WTH?
>
> I suggest (separately) dropping this empty statement.

It's not valid C to have a label right at the end of a block.

  $ cat label-block.c
  void foo(void)
  {
   end:
  }
  $ gcc -c label-block.c
  label-block.c: In function `foo':
  label-block.c:3:2: error: label at end of compound statement
    end:
    ^

Hence, that empty statement is needed. I tend to put the ; on its own
line in those cases.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to