[vlc-commits] avcodec: don't include a header if it was already included

Steve Lhomme git at videolan.org
Wed Feb 20 15:10:44 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Feb 20 15:10:01 2019 +0100| [5027c83e65640b7be4166627b55e4311152efd2f] | committer: Steve Lhomme

avcodec: don't include a header if it was already included

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5027c83e65640b7be4166627b55e4311152efd2f
---

 modules/codec/avcodec/va.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/avcodec/va.h b/modules/codec/avcodec/va.h
index a5a4a6a26a..9a5baafb38 100644
--- a/modules/codec/avcodec/va.h
+++ b/modules/codec/avcodec/va.h
@@ -20,11 +20,11 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include "avcommon_compat.h"
-
 #ifndef VLC_AVCODEC_VA_H
 #define VLC_AVCODEC_VA_H 1
 
+#include "avcommon_compat.h"
+
 typedef struct vlc_va_t vlc_va_t;
 typedef struct vlc_va_sys_t vlc_va_sys_t;
 



More information about the vlc-commits mailing list