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

qtsampleplayer fails to compile due to deprecation of avcodec_alloc_frame() in ffmpeg #30

Open
AnthonyParkssonos opened this issue May 11, 2020 · 1 comment

Comments

@AnthonyParkssonos
Copy link

on ubuntu 18.04, running make for qtsampleplayer results in several deprecation warnings, but fails to compile due to:

     this->frame = avcodec_alloc_frame();
                   ^~~~~~~~~~~~~~~~~~~
                   avcodec_send_frame
[ 18%] Building CXX object CMakeFiles/qtsampleplayer.dir/libdashframework/Buffer/MediaObjectBuffer.cpp.o
CMakeFiles/qtsampleplayer.dir/build.make:67: recipe for target 'CMakeFiles/qtsampleplayer.dir/Decoder/LibavDecoder.cpp.o' failed
@jhaberly
Copy link

I ran into this as well. Downloading an older version of libav fixed it. I think I used 10.5 or something. The example is pretty old.

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

No branches or pull requests

2 participants