Mans Rullgard <[EMAIL PROTECTED]> added the comment:

Michael Niedermayer <[EMAIL PROTECTED]> writes:

> Michael Niedermayer <[EMAIL PROTECTED]> added the comment:
>
>> If the remaining length is zero, any set flag is wrong.
>
> Or the length was wrong.

Yes, of course.

> If you want i can certainly commit
> flags &= 0xC0;

I suppose you'd also change the test to flags & 0x3f.

Looking at the code, I notice it's incorrect if any of the other flags
are set.  Someone should fix this...

______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue198>
______________________________________________________

Reply via email to