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>
|
||||
|
||||
/* suppress the ffmpeg compatibility macro */
|
||||
#ifdef SampleFormat
|
||||
#undef SampleFormat
|
||||
#endif
|
||||
|
||||
class FfmpegBuffer {
|
||||
void *data;
|
||||
unsigned size;
|
||||
|
@ -31,11 +31,6 @@ extern "C" {
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
|
||||
/* suppress the ffmpeg compatibility macro */
|
||||
#ifdef SampleFormat
|
||||
#undef SampleFormat
|
||||
#endif
|
||||
|
||||
/* redefine AV_TIME_BASE_Q because libavutil's macro definition is a
|
||||
compound literal, which is illegal in C++ */
|
||||
#ifdef AV_TIME_BASE_Q
|
||||
|
Loading…
Reference in New Issue
Block a user