From 8516a39e5da22f10f8a42c47f03c5313b2024be9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Colin=20G=C3=BCnther?= Date: Thu, 21 Aug 2014 09:41:38 +0200 Subject: [PATCH] FFMPEG Plugin: Small cleanup - The reason for compiler complaining about "INT64_C is not defined here" is gone since the addition of the compiler flag "-D__STDC_CONSTANT_MACROS" to the Jamfile some time ago. This flag allows C++ to use C99 math features. - No functional change intended. --- src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp b/src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp index f88b936b09..7623110263 100644 --- a/src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp +++ b/src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp @@ -46,10 +46,7 @@ extern "C" { #define ERROR(a...) fprintf(stderr, a) -static const int64 kNoPTSValue = 0x8000000000000000LL; - // NOTE: For some reasons, I have trouble with the avcodec.h define: - // #define AV_NOPTS_VALUE INT64_C(0x8000000000000000) - // INT64_C is not defined here. +static const int64 kNoPTSValue = AV_NOPTS_VALUE; static uint32