[FFmpeg-devel] [PATCH] merge libavcore into libavutil

Reinhard Tartler siretart
Tue Feb 8 06:49:52 CET 2011


On Mo, Feb 07, 2011 at 19:44:05 (CET), M?ns Rullg?rd wrote:

> Reinhard Tartler <siretart at tauware.de> writes:
>
>> It is pretty hopeless that other projects will adopt libavutil alone in
>> other projects. With this in mind, nobody is helped by having libavutil
>> and libavcore split. In order to ease maintenance and reduce confusion
>> where to put common code, avcore's functionality is merged (back) to
>> avutil.
>
> Nice work.

thanks :-)

>> diff --git a/libavutil/audioconvert.h b/libavutil/audioconvert.h
>> new file mode 100644
>> index 0000000..a6b3bb6
>> --- /dev/null
>> +++ b/libavutil/audioconvert.h
>> @@ -0,0 +1,95 @@
>> [...]
>> +#ifndef AVUTILAUDIOCONVERT_H
>> +#define AVUTILAUDIOCONVERT_H
>
> AVUTIL_AUDIOCONVERT_H
>
> BTW, the name of this file doesn't match what it does very well...

Ah, yes, I missed this search & replace mistake.

>> diff --git a/libavutil/internal.h b/libavutil/internal.h
>> index 36d3e71..b162207 100644
>> --- a/libavutil/internal.h
>> +++ b/libavutil/internal.h
>> @@ -37,6 +37,9 @@
>>  #include "config.h"
>>  #include "attributes.h"
>>  #include "timer.h"
>> +#include "pixfmt.h"
>> +
>> +int ff_set_systematic_pal2(uint32_t pal[256], enum PixelFormat pix_fmt);
>
> This belongs in imgutil.h, and it should have av_ prefix.

Will move to imgutil.h in the next iteration, but I'd prefer to make it
public in a seperate change (deserves APIChange mentioning).


-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




More information about the ffmpeg-devel mailing list