summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2018-04-02 01:06:18 +0200
committerDiego Biurrun <diego@biurrun.de>2018-04-09 21:58:39 +0200
commit8f144d9e3d5cb2ca92e5bdf7cc9f72effa1bd2ce (patch)
tree82ea83505f66dd6b38416e64b53dffec7d38ab5a /libavcodec
parentc7ab6aff66cba2f265f656ce8d56aa428d4ada76 (diff)
downloadffmpeg-streaming-8f144d9e3d5cb2ca92e5bdf7cc9f72effa1bd2ce.zip
ffmpeg-streaming-8f144d9e3d5cb2ca92e5bdf7cc9f72effa1bd2ce.tar.gz
Drop Windows XP support remnants
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dxva2_h264.c6
-rw-r--r--libavcodec/dxva2_hevc.c6
-rw-r--r--libavcodec/dxva2_mpeg2.c7
-rw-r--r--libavcodec/dxva2_vc1.c6
4 files changed, 5 insertions, 20 deletions
diff --git a/libavcodec/dxva2_h264.c b/libavcodec/dxva2_h264.c
index 50e7863..790e4a2 100644
--- a/libavcodec/dxva2_h264.c
+++ b/libavcodec/dxva2_h264.c
@@ -20,16 +20,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "dxva2_internal.h"
#include "h264dec.h"
#include "h264data.h"
#include "h264_ps.h"
#include "mpegutils.h"
-// The headers above may include w32threads.h, which uses the original
-// _WIN32_WINNT define, while dxva2_internal.h redefines it to target a
-// potentially newer version.
-#include "dxva2_internal.h"
-
struct dxva2_picture_context {
DXVA_PicParams_H264 pp;
DXVA_Qmatrix_H264 qm;
diff --git a/libavcodec/dxva2_hevc.c b/libavcodec/dxva2_hevc.c
index 02d3b9b..d2d8080 100644
--- a/libavcodec/dxva2_hevc.c
+++ b/libavcodec/dxva2_hevc.c
@@ -22,14 +22,10 @@
#include "libavutil/avassert.h"
+#include "dxva2_internal.h"
#include "hevc_data.h"
#include "hevcdec.h"
-// The headers above may include w32threads.h, which uses the original
-// _WIN32_WINNT define, while dxva2_internal.h redefines it to target a
-// potentially newer version.
-#include "dxva2_internal.h"
-
#define MAX_SLICES 256
struct hevc_dxva2_picture_context {
diff --git a/libavcodec/dxva2_mpeg2.c b/libavcodec/dxva2_mpeg2.c
index 6e5dff3..5cc8128 100644
--- a/libavcodec/dxva2_mpeg2.c
+++ b/libavcodec/dxva2_mpeg2.c
@@ -21,13 +21,10 @@
*/
#include "libavutil/log.h"
-#include "mpegutils.h"
-#include "mpegvideo.h"
-// The headers above may include w32threads.h, which uses the original
-// _WIN32_WINNT define, while dxva2_internal.h redefines it to target a
-// potentially newer version.
#include "dxva2_internal.h"
+#include "mpegutils.h"
+#include "mpegvideo.h"
#define MAX_SLICES 1024
struct dxva2_picture_context {
diff --git a/libavcodec/dxva2_vc1.c b/libavcodec/dxva2_vc1.c
index 247ea47..fc09f88 100644
--- a/libavcodec/dxva2_vc1.c
+++ b/libavcodec/dxva2_vc1.c
@@ -20,15 +20,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "dxva2_internal.h"
#include "mpegutils.h"
#include "vc1.h"
#include "vc1data.h"
-// The headers above may include w32threads.h, which uses the original
-// _WIN32_WINNT define, while dxva2_internal.h redefines it to target a
-// potentially newer version.
-#include "dxva2_internal.h"
-
struct dxva2_picture_context {
DXVA_PictureParameters pp;
DXVA_SliceInfo si;
OpenPOWER on IntegriCloud