1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avutil: Cast AV_NOPTS_VALUE to int64_t explicitly

Thus comparsion against int64_t value will not raise warning
(from -Wextra set) about comparsion of unsigned and signed integer

commiter added () and changed the litteral to unsigned

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Andrey Utkin 2012-09-19 19:42:14 +02:00 committed by Michael Niedermayer
parent d5fd610dab
commit cb3591e697

View File

@ -223,7 +223,7 @@ const char *av_get_media_type_string(enum AVMediaType media_type);
* either pts or dts. * either pts or dts.
*/ */
#define AV_NOPTS_VALUE INT64_C(0x8000000000000000) #define AV_NOPTS_VALUE ((int64_t)UINT64_C(0x8000000000000000))
/** /**
* Internal time base represented as integer * Internal time base represented as integer