Resurrect chunk that was mistakenly removed in previous. Fixes build for good this time.

This commit is contained in:
landry 2013-03-21 07:50:56 +00:00
parent 2cc682c5df
commit 8b677ced4b

View File

@ -1,10 +1,29 @@
$OpenBSD: patch-plugins_video_H_264_h264-x264_cxx,v 1.5 2013/03/19 22:06:44 landry Exp $
$OpenBSD: patch-plugins_video_H_264_h264-x264_cxx,v 1.6 2013/03/21 07:50:56 landry Exp $
LOCALBASE/include/libavutil/common.h:170: error: 'UINT64_C' was not declared in this scope,
so move headers so that __STDC_CONSTANT_MACROS is defined at the right time.
--- plugins/video/H.264/h264-x264.cxx.orig Tue Mar 19 22:15:18 2013
+++ plugins/video/H.264/h264-x264.cxx Tue Mar 19 22:52:56 2013
--- plugins/video/H.264/h264-x264.cxx.orig Wed Feb 20 03:18:02 2013
+++ plugins/video/H.264/h264-x264.cxx Thu Mar 21 08:47:42 2013
@@ -36,15 +36,15 @@
* $Date: 2013/03/21 07:50:56 $
*/
+#include "../common/ffmpeg.h"
+#include "../common/dyna.h"
+
#ifndef PLUGIN_CODEC_DLL_EXPORTS
#include "plugin-config.h"
#endif
#include <codec/opalplugin.hpp>
-#include "../common/ffmpeg.h"
-#include "../common/dyna.h"
-
#include "shared/h264frame.h"
#include "shared/x264wrap.h"
@@ -1071,13 +1071,10 @@ class MyDecoder : public PluginCodec<MY_CODEC>
return false;