[FFmpeg-devel] [PATCH] avcodec/me_cmp: remove ff_me_cmp_init_static()

Muhammad Faiz mfcc64 at gmail.com
Sun Feb 4 15:11:05 EET 2018


On Sun, Feb 4, 2018 at 9:26 AM, James Almer <jamrial at gmail.com> wrote:
> On 2/3/2018 7:51 PM, Muhammad Faiz wrote:
>> Precalculate and constify ff_square_tab.
>>
>> Signed-off-by: Muhammad Faiz <mfcc64 at gmail.com>
>> ---
>>  libavcodec/me_cmp.c          | 51 +++++++++++++++++++++++++++++++++-----------
>>  libavcodec/me_cmp.h          |  4 +---
>>  libavcodec/mpegvideo_enc.c   |  2 +-
>>  libavcodec/mpegvideoencdsp.c |  2 +-
>>  libavcodec/snowenc.c         |  2 +-
>>  libavcodec/utils.c           | 13 -----------
>>  6 files changed, 43 insertions(+), 31 deletions(-)
>>
>> diff --git a/libavcodec/me_cmp.c b/libavcodec/me_cmp.c
>> index 5e34a11593..67a5bb5c71 100644
>> --- a/libavcodec/me_cmp.c
>> +++ b/libavcodec/me_cmp.c
>> @@ -22,6 +22,7 @@
>>
>>  #include "libavutil/attributes.h"
>>  #include "libavutil/internal.h"
>> +#include "libavutil/thread.h"
>
> Unused?

Fixed locally.

Thank's.


More information about the ffmpeg-devel mailing list