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

Update ld-ldf-reader for ffmpeg 4.5 #639

Merged
merged 1 commit into from
May 2, 2021

Commits on May 2, 2021

  1. Update ld-ldf-reader to use avcodec_receive_frame.

    This was based on an example that used the old avcodec_decode_audio4
    API, which will be removed in ffmpeg 4.5. The changes here just update
    it to match the latest version of the example, which uses
    avcodec_receive_frame instead, with the seeking changes re-added.
    
    The av_register_all function will also be removed in 4.5, but it's still
    necessary to call it in older versions of ffmpeg to get the codecs
    registered, so I've added a version conditional around it.
    
    I've tested this with ffmpeg 3.4 (as in Ubuntu 18.04) and 4.5 in
    development (current master).
    atsampson committed May 2, 2021
    Configuration menu
    Copy the full SHA
    bd3c987 View commit details
    Browse the repository at this point in the history