Missing include in cap_ffmpeg_impl.hpp (Bug #2365)


Added by BeLioN BeLioN over 12 years ago. Updated over 12 years ago.


Status:Done Start date:2012-09-18
Priority:Normal Due date:
Assignee:BeLioN BeLioN % Done:

0%

Category:highgui-camera
Target version:2.4.3
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

When trying to compile the last version from git, I get the following error:

cap_ffmpeg_impl.hpp:2053:24: error: ‘AVERROR_EOF’ was not declared in this scope

Solution is to add the following line to cap_ffmpeg_impl.hpp :

#include <libavutil/error.h>

Associated revisions

Revision 4e075611
Added by Vadim Pisarevsky over 12 years ago

fixed possible compile error in cap_ffmpeg_impl.hpp (bug #2365)

Revision 689589eb
Added by Roman Donchenko about 11 years ago

Merge pull request #2365 from yashdv:image_tutorial_doc_bug

History

Updated by Andrey Pavlenko over 12 years ago

Please specify the target OS/arch and build options (CMake arguments)!
E.g. it doesn't happen during Windows and Android builds on my side.

  • Assignee changed from Vadim Pisarevsky to BeLioN BeLioN

Updated by Vadim Pisarevsky over 12 years ago

thanks! the problem should be fixed now

  • Status changed from Open to Done
  • Target version set to 2.4.3

Also available in: Atom PDF