Skip to content

Commit 2158fa0

Browse files
author
Clement Champetier
committed
Option: fix ffmpeg include for AV_ERROR_MAX_STRING_SIZE
1 parent 312e619 commit 2158fa0

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/AvTranscoder/option/Option.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#include "Option.hpp"
22

3+
extern "C" {
4+
#include <libavutil/error.h>
5+
}
6+
37
#include <sstream>
48
#include <stdexcept>
59

src/AvTranscoder/option/Option.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#ifndef _AV_TRANSCODER_OPTION_HPP
22
#define _AV_TRANSCODER_OPTION_HPP
33

4+
#include <AvTranscoder/common.hpp>
5+
46
extern "C" {
5-
#ifndef __STDC_CONSTANT_MACROS
6-
#define __STDC_CONSTANT_MACROS
7-
#endif
87
#include <libavutil/opt.h>
98
}
109

0 commit comments

Comments
 (0)