[FFmpeg-devel] [PATCH 4/4] Add MxPEG decoder

Måns Rullgård mans
Wed Feb 16 23:07:14 CET 2011


Anatoly Nenashev <anatoly.nenashev at ovsoft.ru> writes:

> On 17.02.2011 00:40, M?ns Rullg?rd wrote:
>> Anatoly Nenashev<anatoly.nenashev at ovsoft.ru>  writes:
>>
>>    
>>>  From e6a735d5d70e4ab64053e6223cb5a6296145cb26 Mon Sep 17 00:00:00 2001
>>> From: anatoly<anatoly.nenashev at ovsoft.ru>
>>> Date: Wed, 16 Feb 2011 23:28:07 +0300
>>> Subject: [PATCH 4/4] Add MxPEG decoder
>>>
>>> ---
>>>   libavcodec/Makefile    |    1 +
>>>   libavcodec/allcodecs.c |    1 +
>>>   libavcodec/mxpegdec.c  |  326 ++++++++++++++++++++++++++++++++++++++++++++++++
>>>   3 files changed, 328 insertions(+), 0 deletions(-)
>>>   create mode 100644 libavcodec/mxpegdec.c
>>>      
>> This duplicates a lot of code from mjpegdec.c.  That is not good.
>>
>>    
>
> I'm not agree with it. What part exactly was copypasted from original code?

The big loop in decode_frame() is largely duplicated.  Your original
patch only added a few small bits to it.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list