|
Revision 10030, 393 bytes
(checked in by robert, 4 years ago)
|
|
From Jean Sebastien Guay, added error reporting handling of wider range of video formats.
|
| Line | |
|---|
| 1 | |
|---|
| 2 | #ifndef HEADER_GUARD_FFMPEG_HEADERS_H |
|---|
| 3 | #define HEADER_GUARD_FFMPEG_HEADERS_H |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | extern "C" |
|---|
| 7 | { |
|---|
| 8 | #define __STDC_CONSTANT_MACROS |
|---|
| 9 | #ifdef WIN32 |
|---|
| 10 | #include <errno.h> // for error codes defined in avformat.h |
|---|
| 11 | #endif |
|---|
| 12 | #include <stdint.h> |
|---|
| 13 | #include <avcodec.h> |
|---|
| 14 | #include <avformat.h> |
|---|
| 15 | #include <avdevice.h> |
|---|
| 16 | |
|---|
| 17 | #ifdef USE_SWSCALE |
|---|
| 18 | #include <swscale.h> |
|---|
| 19 | #endif |
|---|
| 20 | |
|---|
| 21 | } |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | #endif // HEADER_GUARD_FFMPEG_HEADERS_H |
|---|