[FFmpeg-devel] [PATCH 1/2] MxPEG decoder

Anatoly Nenashev nenashev_as
Wed Dec 1 08:44:32 CET 2010


On 01.12.2010 02:17, Stefano Sabatini wrote:
> On date Monday 2010-11-01 15:42:11 +0300, Anatoly Nenashev encoded:
> [...]
>
>> +AVCodec mxpeg_decoder = {
>> +    "mxpeg",
>> +    AVMEDIA_TYPE_VIDEO,
>> +    CODEC_ID_MXPEG,
>> +    sizeof(MJpegDecodeContext),
>> +    ff_mjpeg_decode_init,
>> +    NULL,
>> +    ff_mjpeg_decode_end,
>> +    ff_mjpeg_decode_frame,
>> +    CODEC_CAP_DR1,
>> +    NULL,
>> +    .max_lowres = 3,
>> +    .long_name = NULL_IF_CONFIG_SMALL("Mobotix MxPEG video"),
>>      
> Designated init (.foo = bar) are preferred.
>    

It has been made by analogy to other decoders which are present at this 
file.

Also this is old version of patch. Please review mxpeg_v8.patch.



More information about the ffmpeg-devel mailing list