El 13/02/16 a las 16:58, satya gowtham kudupudi escribió:
After a long time I've decided to rebuild my application. So I've
compiled latest ffmpeg and installed. But now when I try to rebuild my
application against latest ffmpeg, I got the following build errors.
libavcodec_util.cpp:156:33: error: ‘avcodec_alloc_frame’ was not
declared in this scope
frame = avcodec_alloc_frame();
av_frame_alloc()
^
libavcodec_util.cpp:219:13: warning: ‘void av_free_packet(AVPacket*)’
is deprecated (declared at
/usr/local/include/libavcodec/avcodec.h:4040) [-Wdeprecated-declarations]
av_free_packet(&pkt);
^
av_packet_unref(&pkt);
^
libavcodec_util.cpp:238:30: error: ‘avcodec_free_frame’ was not
declared in this scope
avcodec_free_frame(&frame);
av_frame_free(&frame);
^
^
libavcodec_util.cpp:293:53: error: ‘avcodec_get_frame_defaults’ was
not declared in this scope
avcodec_get_frame_defaults(decoded_frame);
Not sure, you'll need to check some old .h files for the deprecation
warning.
--
Gonzalo Garramuño
[email protected]
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user