[Ffmpeg-devel] [PATCH] Remove av prefix from av_realloc_static()

Panagiotis Issaris takis
Thu Feb 22 21:15:50 CET 2007


Hi,

M?ns Rullg?rd schreef:
> Panagiotis Issaris <takis at issaris.org> writes:
>
>   
>> Hi,
>>
>> The attached patch removes the av_ prefix from av_realloc_static().
>>
>> libavcodec/bitstream.c |    4 ++--
>> libavcodec/utils.c     |    2 +-
>> 2 files changed, 3 insertions(+), 3 deletions(-)
>>
>> With friendly regards,
>> Takis
>> diff --git a/libavcodec/bitstream.c b/libavcodec/bitstream.c
>> index 1e71745..b2ac64c 100644
>> --- a/libavcodec/bitstream.c
>> +++ b/libavcodec/bitstream.c
>> @@ -37,7 +37,7 @@
>>   * @param[in] size The requested size.
>>   * @return Block of memory of requested size.
>>   */
>> -void *av_realloc_static(void *ptr, unsigned int size);
>> +void *realloc_static(void *ptr, unsigned int size);
>>     
>
> All symbols with external linkage should have either ff_ or av_ prefix.
>   
Ouch, you are right. I was still in the mindset of moving it into 
bitstream.c...
Updated patch will follow in a sec....

With friendly regards,
Takis





More information about the ffmpeg-devel mailing list