[Libav-user] Reading library code

william keeling WilliamKeeling at hotmail.com
Thu Mar 11 15:52:14 EET 2021


when I see compiler directive in code (like below eaxample) I am reading how do I know what code I am running?

 4509 #if FF_API_LAVF_AVCTX
 4510 FF_DISABLE_DEPRECATION_WARNINGS<http://ffmpeg.org/doxygen/trunk/libavutil_2internal_8h.html#a5837cafc419c2b5ecdb1dfa330675d13>
 4511     st->codec = avcodec_alloc_context3<http://ffmpeg.org/doxygen/trunk/group__lavc__core.html#gae80afec6f26df6607eaacf39b561c315>(c);
 4512     if (!st->codec) {
 4513         av_free<http://ffmpeg.org/doxygen/trunk/tableprint__vlc_8h.html#a079eab092887563f2bef9106c6120089>(st);
 4514         return NULL<http://ffmpeg.org/doxygen/trunk/coverity_8c.html#a070d2ce7b6bb7e5c05602aa8c308d0c4>;
 4515     }
 4516 FF_ENABLE_DEPRECATION_WARNINGS<http://ffmpeg.org/doxygen/trunk/libavutil_2internal_8h.html#aa6ef004d10669ab4ee062367a014ea33>
 4517 #endif

thanks
William
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20210311/2a75b9e0/attachment.html>


More information about the Libav-user mailing list