lib/ffmpeg/{Buffer,Time}: remove obsolete "#undef SampleFormat"
This compatibility macro has been removed from FFmpeg long ago.
This commit is contained in:
parent
84f772357e
commit
9332527872
@ -26,11 +26,6 @@ extern "C" {
|
|||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
|
||||||
/* suppress the ffmpeg compatibility macro */
|
|
||||||
#ifdef SampleFormat
|
|
||||||
#undef SampleFormat
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class FfmpegBuffer {
|
class FfmpegBuffer {
|
||||||
void *data;
|
void *data;
|
||||||
unsigned size;
|
unsigned size;
|
||||||
|
@ -31,11 +31,6 @@ extern "C" {
|
|||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
/* suppress the ffmpeg compatibility macro */
|
|
||||||
#ifdef SampleFormat
|
|
||||||
#undef SampleFormat
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* redefine AV_TIME_BASE_Q because libavutil's macro definition is a
|
/* redefine AV_TIME_BASE_Q because libavutil's macro definition is a
|
||||||
compound literal, which is illegal in C++ */
|
compound literal, which is illegal in C++ */
|
||||||
#ifdef AV_TIME_BASE_Q
|
#ifdef AV_TIME_BASE_Q
|
||||||
|
Loading…
Reference in New Issue
Block a user