[FFmpeg-cvslog] r10709 - in trunk/libavformat: avio.h aviobuf.c

Benoit Fouet benoit.fouet
Sun Oct 14 15:31:18 CEST 2007


Aurelien Jacobs wrote:
> On Thu, 11 Oct 2007 16:57:47 +0200 (CEST)
> benoit <subversion at mplayerhq.hu> wrote:
>
>   
>> Author: benoit
>> Date: Thu Oct 11 16:57:47 2007
>> New Revision: 10709
>>
>> Log:
>> Add functionality to set the direction of a ByteIOContext buffer.
>> Patch by Bj?rn Axelsson bjorn axelsson intinor se
>> Original thread: [FFmpeg-devel] [PATCH] MMS protocol support patch 1
>> Date: 09/19/2007 05:51 PM
>>
>>
>> Modified:
>>    trunk/libavformat/avio.h
>>    trunk/libavformat/aviobuf.c
>>
>> Modified: trunk/libavformat/avio.h
>> ==============================================================================
>> --- trunk/libavformat/avio.h	(original)
>> +++ trunk/libavformat/avio.h	Thu Oct 11 16:57:47 2007
>> @@ -203,6 +203,11 @@ int url_fdopen(ByteIOContext *s, URLCont
>>  
>>  /** @warning must be called before any I/O */
>>  int url_setbufsize(ByteIOContext *s, int buf_size);
>> +/** Reset the buffer for reading or writing.
>> + * @note Will drop any data currently in the buffer without transmitting it.
>> + * @param flags URL_RDONLY to set up the buffer for reading, or URL_WRONLY
>> + *        to set up the buffer for writing. */
>> +int url_resetbuf(ByteIOContext *s, int flags);
>>     
>
> Adding a new function in public API...
> => minor version should be increased
>
>   

thanks,
done

-- 
Ben




More information about the ffmpeg-cvslog mailing list