summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-04-13 20:59:12 -0300
committerJames Almer <jamrial@gmail.com>2018-04-13 20:59:12 -0300
commitb14761d1f8372dfe558193b8b754b9f1a858077d (patch)
treed684f56f3c741f0b500179e432f64a1f6e13d5c4 /libavcodec
parent217ad40aef9eeeff4e805dec3e980fb16aec3345 (diff)
parent8f144d9e3d5cb2ca92e5bdf7cc9f72effa1bd2ce (diff)
downloadffmpeg-b14761d1f8372dfe558193b8b754b9f1a858077d.tar.gz
Merge commit '8f144d9e3d5cb2ca92e5bdf7cc9f72effa1bd2ce'
* commit '8f144d9e3d5cb2ca92e5bdf7cc9f72effa1bd2ce': Drop Windows XP support remnants Merged-by: James Almer <jamrial@gmail.com>
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.c7
-rw-r--r--libavcodec/dxva2_vp9.c6
5 files changed, 7 insertions, 25 deletions
diff --git a/libavcodec/dxva2_h264.c b/libavcodec/dxva2_h264.c
index a4278c80b5..5b23b28f12 100644
--- a/libavcodec/dxva2_h264.c
+++ b/libavcodec/dxva2_h264.c
@@ -22,16 +22,12 @@
#include "libavutil/avassert.h"
+#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 0ae07d304f..dbb701fb1c 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 a57778b427..8cc21bf199 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 06f1083b3a..f08ac8b5a0 100644
--- a/libavcodec/dxva2_vc1.c
+++ b/libavcodec/dxva2_vc1.c
@@ -20,16 +20,13 @@
* 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"
-
#define MAX_SLICES 1024
+
struct dxva2_picture_context {
DXVA_PictureParameters pp;
unsigned slice_count;
diff --git a/libavcodec/dxva2_vp9.c b/libavcodec/dxva2_vp9.c
index 5a5b226422..eaeab3af7a 100644
--- a/libavcodec/dxva2_vp9.c
+++ b/libavcodec/dxva2_vp9.c
@@ -23,12 +23,8 @@
#include "libavutil/avassert.h"
#include "libavutil/pixdesc.h"
-#include "vp9shared.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 "vp9shared.h"
struct vp9_dxva2_picture_context {
DXVA_PicParams_VP9 pp;