Browse Source

vdpau: Adjust necessary #includes for vdpau_internal.h

tags/n2.6
Diego Biurrun 10 years ago
parent
commit
ecbcebde34
2 changed files with 4 additions and 2 deletions
  1. +3
    -2
      libavcodec/vdpau_internal.h
  2. +1
    -0
      libavcodec/vdpau_mpeg12.c

+ 3
- 2
libavcodec/vdpau_internal.h View File

@@ -27,9 +27,10 @@
#include <stdint.h> #include <stdint.h>
#include <vdpau/vdpau.h> #include <vdpau/vdpau.h>


#include "libavutil/frame.h"

#include "avcodec.h" #include "avcodec.h"
#include "mpegvideo.h"
#include "version.h"
#include "vdpau.h"


/** Extract VdpVideoSurface from an AVFrame */ /** Extract VdpVideoSurface from an AVFrame */
static inline uintptr_t ff_vdpau_get_surface_id(AVFrame *pic) static inline uintptr_t ff_vdpau_get_surface_id(AVFrame *pic)


+ 1
- 0
libavcodec/vdpau_mpeg12.c View File

@@ -24,6 +24,7 @@
#include <vdpau/vdpau.h> #include <vdpau/vdpau.h>


#include "avcodec.h" #include "avcodec.h"
#include "mpegvideo.h"
#include "vdpau.h" #include "vdpau.h"
#include "vdpau_internal.h" #include "vdpau_internal.h"




Loading…
Cancel
Save