Commit 93325278 authored by Max Kellermann's avatar Max Kellermann

lib/ffmpeg/{Buffer,Time}: remove obsolete "#undef SampleFormat"

This compatibility macro has been removed from FFmpeg long ago.
parent 84f77235
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment