blob: 7b7c8d7270fdbc8e6d5f63745475ad42dc8bd4b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Index: gazebo-11.10.1/gazebo/common/VideoEncoder.cc
===================================================================
--- gazebo-11.10.1.orig/gazebo/common/VideoEncoder.cc
+++ gazebo-11.10.1/gazebo/common/VideoEncoder.cc
@@ -224,7 +224,10 @@ bool VideoEncoder::Start(const std::stri
// The remainder of this function handles FFMPEG initialization of a video
// stream
- const AVOutputFormat *outputFormat = nullptr;
+#if LIBAVFORMAT_VERSION_MAJOR >= 59
+ const
+#endif
+ AVOutputFormat *outputFormat = nullptr;
// This 'if' and 'free' are just for safety. We chech the value of formatCtx
// below.
|