Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
1d7e09a9
Commit
1d7e09a9
authored
Mar 26, 2012
by
Alexander Reshetnikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed duplicated ifdef code from ffmpeg wrappers
parent
7a59d6c7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
26 deletions
+4
-26
cap_ffmpeg_impl.hpp
modules/highgui/src/cap_ffmpeg_impl.hpp
+0
-13
cap_ffmpeg_impl_v2.hpp
modules/highgui/src/cap_ffmpeg_impl_v2.hpp
+0
-13
ffmpeg_codecs.hpp
modules/highgui/src/ffmpeg_codecs.hpp
+4
-0
No files found.
modules/highgui/src/cap_ffmpeg_impl.hpp
View file @
1d7e09a9
...
@@ -51,19 +51,6 @@
...
@@ -51,19 +51,6 @@
extern
"C"
{
extern
"C"
{
#endif
#endif
#if !defined(WIN32) || defined(__MINGW32__)
// some versions of FFMPEG assume a C99 compiler, and don't define INT64_C
#if !defined INT64_C || !defined UINT64_C
#define INT64_C
#define UINT64_C
#define __STDC_CONSTANT_MACROS
// force re-inclusion of stdint.h to get INT64_C macro
#undef _STDINT_H
#include <stdint.h>
#endif
#include <errno.h>
#endif
#include "ffmpeg_codecs.hpp"
#include "ffmpeg_codecs.hpp"
#ifdef WIN32
#ifdef WIN32
...
...
modules/highgui/src/cap_ffmpeg_impl_v2.hpp
View file @
1d7e09a9
...
@@ -52,19 +52,6 @@
...
@@ -52,19 +52,6 @@
extern
"C"
{
extern
"C"
{
#endif
#endif
#if !defined(WIN32) || defined(__MINGW32__)
// some versions of FFMPEG assume a C99 compiler, and don't define INT64_C
#if !defined INT64_C || !defined UINT64_C
#define INT64_C
#define UINT64_C
#define __STDC_CONSTANT_MACROS
// force re-inclusion of stdint.h to get INT64_C macro
#undef _STDINT_H
#include <stdint.h>
#endif
#include <errno.h>
#endif
#include "ffmpeg_codecs.hpp"
#include "ffmpeg_codecs.hpp"
#ifdef WIN32
#ifdef WIN32
...
...
modules/highgui/src/ffmpeg_codecs.hpp
View file @
1d7e09a9
...
@@ -44,6 +44,8 @@
...
@@ -44,6 +44,8 @@
extern
"C"
{
extern
"C"
{
#endif
#endif
#if !defined(WIN32) || defined(__MINGW32__)
// some versions of FFMPEG assume a C99 compiler, and don't define INT64_C
#if !defined INT64_C || !defined UINT64_C
#if !defined INT64_C || !defined UINT64_C
#define INT64_C
#define INT64_C
#define UINT64_C
#define UINT64_C
...
@@ -52,6 +54,8 @@ extern "C" {
...
@@ -52,6 +54,8 @@ extern "C" {
#undef _STDINT_H
#undef _STDINT_H
#include <stdint.h>
#include <stdint.h>
#endif
#endif
#include <errno.h>
#endif
#ifdef WIN32
#ifdef WIN32
#include <libavformat/avformat.h>
#include <libavformat/avformat.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment