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

FFMPEG Updating #11

Taose opened this issue Feb 28, 2017 · 2 comments


Copy link

commented Feb 28, 2017

Okay so I get the following error:

/projects/Vegastrike/engine/src/ffmpeg_init.cpp: In function ‘int _url_open(URLContext*, const char*, int)’:
/projects/Vegastrike/engine/src/ffmpeg_init.cpp:53:10: error: invalid use of incomplete type ‘struct URLContext’
         h->priv_data = f;
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:322:0,
                 from /projects/Vegastrike/engine/src/ffmpeg_init.h:44,
                 from /projects/Vegastrike/engine/src/ffmpeg_init.cpp:7:
/usr/include/x86_64-linux-gnu/libavformat/avio.h:96:12: note: forward declaration of ‘struct URLContext’
     struct URLContext *url_context;


  1. Tried including <url.h> prior to line 53 as @nido suggested, however this resulted in a fatal file not found error.

  2. Turns out url.h was removed four years ago, so it's not a viable option and a full scale work around is going to be needed.



This comment has been minimized.

Copy link
Owner Author

commented Mar 1, 2017

Asking ffmpeg developers for further information on getting this solved.


This comment has been minimized.

Copy link
Owner Author

commented Mar 2, 2017

Fixed in inverted commas here. Instead of fixing it, we're looking at removing it entirely.

@Taose Taose closed this Mar 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.