[FFmpeg-cvslog] r12440 - trunk/libavformat/img2.c

Baptiste Coudurier baptiste.coudurier
Fri Mar 14 14:11:07 CET 2008


Aurelien Jacobs wrote:
> bcoudurier wrote:
> 
>> Author: bcoudurier
>> Date: Fri Mar 14 13:48:13 2008
>> New Revision: 12440
>>
>> Log:
>> remove useless img_write_trailer func
>>
>> Modified:
>>    trunk/libavformat/img2.c
>>
>> Modified: trunk/libavformat/img2.c
>> ==============================================================================
>> --- trunk/libavformat/img2.c	(original)
>> +++ trunk/libavformat/img2.c	Fri Mar 14 13:48:13 2008
>> @@ -373,11 +373,6 @@ static int img_write_packet(AVFormatCont
>>      return 0;
>>  }
>>  
>> -static int img_write_trailer(AVFormatContext *s)
>> -{
>> -    return 0;
>> -}
>> -
>>  #endif /* CONFIG_MUXERS */
>>  
>>  /* input */
>> @@ -420,7 +415,7 @@ AVOutputFormat image2_muxer = {
>>      CODEC_ID_MJPEG,
>>      img_write_header,
>>      img_write_packet,
>> -    img_write_trailer,
>> +    NULL,
>>      AVFMT_NOFILE,
>>  };
>>  #endif
>> @@ -435,6 +430,6 @@ AVOutputFormat image2pipe_muxer = {
>>      CODEC_ID_MJPEG,
>>      img_write_header,
>>      img_write_packet,
>> -    img_write_trailer,
>> +    NULL,
>>  };
>>  #endif
> 
> Useless NULL here.
> 

Removed, thanks.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG SAS                                     http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-cvslog mailing list