mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
f7cf63e0de
from Brad, ok rsadowski pascal
24 lines
510 B
Plaintext
24 lines
510 B
Plaintext
Fix building with newer FFmpeg
|
|
|
|
Index: src/osgPlugins/ffmpeg/FFmpegParameters.cpp
|
|
--- src/osgPlugins/ffmpeg/FFmpegParameters.cpp.orig
|
|
+++ src/osgPlugins/ffmpeg/FFmpegParameters.cpp
|
|
@@ -5,17 +5,9 @@
|
|
#include <iostream>
|
|
#include <sstream>
|
|
|
|
-#if LIBAVCODEC_VERSION_MAJOR >= 53
|
|
extern "C"
|
|
{
|
|
#include <libavutil/parseutils.h>
|
|
-}
|
|
-#define av_parse_video_frame_size av_parse_video_size
|
|
-#define av_parse_video_frame_rate av_parse_video_rate
|
|
-#endif
|
|
-
|
|
-extern "C"
|
|
-{
|
|
#include <libavutil/pixdesc.h>
|
|
}
|
|
|