Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for mod_av related to signalwire/freeswitch#2202 #2681

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Korynkai
Copy link

This is refactored from the patch listed in #2202 to guard against the exact library versions these changes occurred at.
The changes are as follows:

  • AVOutputFormat::priv_data_size is marked private and no longer exists in the public API as of FFMPEG 6.0, but found hidden in AVOutputFormat as part of FFOutputFormat.
  • AVCodecContext::ticks_per_frame was deprecated as of FFMPEG 6.1.
  • libavcodec notes 'do not use avcodec_close()' as of FFMPEG 3.1, use avcodec_free_context() instead.
  • AVFrame::key_frame was deprecated as of FFMPEG 6.1, use AVFrame::flags instead.
  • AVInputFormat::read_seek and AVInputFormat::read_seek2 no longer exists as of FFMPEG 7.0. This seems to only be used for logging purposes, so guard this functionality accordingly.

AVOutputFormat::priv_data_size is marked private and no longer exists in the public API as of FFMPEG 6.0, but found hidden in AVOutputFormat as part of FFOutputFormat.
AVCodecContext::ticks_per_frame was deprecated as of FFMPEG 6.1.
libavcodec notes 'do not use avcodec_close()' as of FFMPEG 3.1, use avcodec_free_context() instead.
AVFrame::key_frame was deprecated as of FFMPEG 6.1, use AVFrame::flags instead.
AVInputFormat::read_seek and AVInputFormat::read_seek2 no longer exists as of FFMPEG 7.0. This seems to only be used for logging purposes, so guard this functionality accordingly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant