New submission from Thomas Dall'Agnese <[email protected]>:

configure:24901: checking whether FFMPEG works
configure:24958: g++ -o conftest -g -O2 -Wall -Wextra -Wno-unused-parameter
-Wno-long-long -fpermissive -fno-strict-aliasing -std=c++98 -pipe -O2        
-lswscale   -lavcodec   -lavformat   -lavutil   conftest.cpp -lm  >&5
In file included from /usr/include/libavutil/avutil.h:81,
                 from /usr/include/libavcodec/avcodec.h:30,
                 from /usr/include/libavformat/avformat.h:56,
                 from conftest.cpp:3:
/usr/include/libavutil/common.h: In function 'int32_t 
av_clipl_int32_c(int64_t)':
/usr/include/libavutil/common.h:161: error: 'UINT64_C' was not declared in this
scope
conftest.cpp: In function 'int main()':
conftest.cpp:14: warning: 'AVFormatContext* av_alloc_format_context()' is
deprecated (declared at /usr/include/libavformat/avformat.h:952)
conftest.cpp:14: warning: 'AVFormatContext* av_alloc_format_context()' is
deprecated (declared at /usr/include/libavformat/avformat.h:952)
configure:24962: $? = 1
configure: program exited with status 1
configure: failed program was:
| 
| extern "C" {
| #include <libavformat/avformat.h>
| #include <libavcodec/avcodec.h>
| #include <libswscale/swscale.h>
| }
| 
| int main (void) {
|   AVFormatContext *fc = NULL;
|   AVCodec *c = NULL;
|   SwsContext *swsc = NULL;
| 
|   av_register_all();
|   fc = av_alloc_format_context();
|   if (fc == NULL) {
|     printf("avformat failure\n");
|     return 1;
|   }
|   av_free(fc);
| 
|   avcodec_init();
|   avcodec_register_all();
|   c = avcodec_find_decoder(CODEC_ID_PCM_S16LE);
|   if (c == NULL) {
|     printf("avcodec failure\n");
|     return 1;
|   }
| 
|   swsc = sws_getContext(704, 480, PIX_FMT_RGB32, 704, 480, PIX_FMT_YUV420P,
SWS_BILINEAR, NULL, NULL, NULL);
|   if (swsc == NULL) {
|     printf("swscale failure\n");
|     return 1;
|   }
|   sws_freeContext(swsc);
| 
|   return 0;
| }
configure:24990: result: no
configure:24998: WARNING: FFMPEG detected, but it doesn't work...

----------
messages: 11205
priority: normal
status: new
substatus: new
title: /usr/include/libavutil/common.h:161: error: 'UINT64_C' was not declared 
in this scope
type: bug

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2093>
________________________________________________

Reply via email to