wandenberg/nginx-video-thumbextractor-module

problem with libavformat 54. 32.100

Opened this issue · 2 comments

Hello, I just ran into this:

cc1: warnings being treated as errors
In file included from ../nginx-video-thumbextractor-module/src/ngx_http_video_thumbextractor_module.c:28:
../nginx-video-thumbextractor-module/src/ngx_http_video_thumbextractor_module_utils.c: In function ângx_http_video_thumbextractor_get_thumbâ:
../nginx-video-thumbextractor-module/src/ngx_http_video_thumbextractor_module_utils.c:268: error: âav_close_input_fileâ is deprecated (declared at /opt/wat/encoder/include/libavformat/avformat.h:1623)

replacing line 268 with newer ffmpeg function should do the trick:

if (pFormatCtx != NULL) avformat_close_input(&pFormatCtx);

Hi Kija,

sorry I made this fix on March, but I forget to make the push, like you can see on commits history.
If you want you can turn back to master version and free your fork.

Hello!

I just deleted my repo. Thanks for your work!

----- Mail original -----
De: "Wandenberg Peixoto" notifications@github.com
À: "wandenberg/nginx-video-thumbextractor-module" nginx-video-thumbextractor-module@noreply.github.com
Cc: "Kija" pierig56@gmail.com
Envoyé: Jeudi 27 Décembre 2012 13:04:41
Objet: Re: [nginx-video-thumbextractor-module] problem with libavformat 54. 32.100 (#2)

Hi Kija,

sorry I made this fix on March, but I forget to make the push, like you can see on commits history.
If you want you can turn back to master version and free your fork.


Reply to this email directly or view it on GitHub .