[FFmpeg-devel] [PATCH][VAAPI][3/6] Add MPEG-2 bitstream decoding (take 5)

Gwenole Beauchesne gbeauchesne
Mon Mar 23 17:11:10 CET 2009

On Mon, 23 Mar 2009, Michael Niedermayer wrote:

>>>> +    default:
>>>> +        assert(0);
>>>> +        return -1;
>>> this is ugly and wrong
>>> pict_type can at least be that dc only mpeg1 thing too IIRC
>> I am sorry but I don't understand what you wrote. Could you please
>> elaborate? Do you mean keep only P and B types and nuke I and default cases
>> away?
> that would be an option

Yes, this is what I did in the 6th iteration, please have a look at it. 

More information about the ffmpeg-devel mailing list