[Ffmpeg-devel] deprecated - is the Motion project soon doomed?
Michael Niedermayer
michaelni
Fri Oct 20 09:52:57 CEST 2006
Hi
On Fri, Oct 20, 2006 at 05:48:27AM +0200, Kenneth Lavrsen wrote:
> I just released a new version of Motion (3.2.7) and at the same time
> downloaded latest SVN checkout of ffmpeg.
>
> I get these warnings when I compile now.
>
> /usr/local/include/ffmpeg/avformat.h:249: warning: `AVFrac' is
> deprecated (declared at /usr/local/include/ffmpeg/avformat.h:102)
> /usr/local/include/ffmpeg/avformat.h:405: warning: `AVImageInfo' is
> deprecated (declared at /usr/local/include/ffmpeg/avformat.h:390)
> /usr/local/include/ffmpeg/avformat.h:408: warning: `AVImageInfo' is
> deprecated (declared at /usr/local/include/ffmpeg/avformat.h:390)
> /usr/local/include/ffmpeg/avformat.h:413: warning: `AVImageFormat' is
> deprecated (declared at /usr/local/include/ffmpeg/avformat.h:411)
> /usr/local/include/ffmpeg/avformat.h:418: warning: `AVImageFormat' is
> deprecated (declared at /usr/local/include/ffmpeg/avformat.h:411)
> /usr/local/include/ffmpeg/avformat.h:419: warning: `AVImageInfo' is
> deprecated (declared at /usr/local/include/ffmpeg/avformat.h:390)
> /usr/local/include/ffmpeg/avformat.h:420: warning: `AVImageFormat' is
> deprecated (declared at /usr/local/include/ffmpeg/avformat.h:411)
> /usr/local/include/ffmpeg/avformat.h:420: warning: `AVImageInfo' is
> deprecated (declared at /usr/local/include/ffmpeg/avformat.h:390)
>
> So it seems the ffmpeg code Motion is using for making mpegs is all
> deprecated.
>
> Does this mean that we are doomed soon?
>
> How are we going to rewrite the Motion code so we use non-deprecated
> functions?
> I have searched for some kind of documentation on it but there is non.
> The output_example.c which is the official "documentation" still uses
> this structures!
>
> Can I have some guidance please.
no, what you quote shows that deprecated structs are used within a header
from libavformat, not that you use them, and yes id like to suppress these
too but i dunno how (adding attribute deprecated to the uses of a deprecated
struct which shouldnt cause warnings to be printed doesnt work)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is
More information about the ffmpeg-devel
mailing list