linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Linphone code compatible with latest FFMpeg AP


From: John Coemans
Subject: Re: [Linphone-developers] Linphone code compatible with latest FFMpeg API
Date: Wed, 8 Nov 2023 14:56:34 +0000

Dears

Apparently part of the changes have been done already in the code to support the latest FFMpeg API since we can see in the Mediastreamer2 source code :

#cmakedefine HAVE_FUN_avcodec_get_context_defaults3 1 

#cmakedefine HAVE_FUN_avcodec_open2 1 

#cmakedefine HAVE_FUN_avcodec_encode_video2 1 

#cmakedefine HAVE_FUN_av_frame_alloc 1 

#cmakedefine HAVE_FUN_av_frame_free 1 

#cmakedefine HAVE_FUN_av_frame_unref 1 


and the impact being mapping to one or the other function :  


#ifndef HAVE_FUN_av_frame_alloc 

AVFrame* av_frame_alloc (void) { 

    return avcodec_alloc_frame(); 

} 

#endif 



But there remains unresolved externals for functions that aren't mappable one-on-one like : avcodec_register_all

Best Regards



reply via email to

[Prev in Thread] Current Thread [Next in Thread]