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
Couldn't compile without modifying track.cpp #9
Comments
Probably related to this: #6. I need to update the code (or you to use an older version of libavcodec :P). |
This is a problem I'm having. I've never used Linux before yesterday, and I'm getting pretty frustrated. I've spent a good two days just getting to this point. What should I do from here? |
Ciao, sorry for late answer. Probably the problem is you have a newer version of the avcodec library, It should be enough to just add the '2' to the name, but I can't be sure Good luck. Federico On Mon, Jul 21, 2014 at 7:43 PM, rjp3900 notifications@github.com wrote:
|
if(avcodec_open2(codec.context, codec.codec, NULL)<0) There is 3rd argument required in new function. I used |
Thanks for your reply. Made the change, it worked...however, I found a free app on the Google Play
|
Using @gavvvr's amendment above worked well for me on both xubuntu 14.04 and OS X. For linux newbies, this can be applied quickly with the following in the command line:
Should this not be in master? |
Hi, thanks aniway :) |
track.cpp: In member function 'void Track::parse(Atom_, Atom_)':
track.cpp:211:47: error: 'avcodec_open' was not declared in this scope
if(avcodec_open(codec.context, codec.codec)<0)
^
Commented out 211-212
The text was updated successfully, but these errors were encountered: