diff options
author | Andrey Utkin <andrey.krieger.utkin@gmail.com> | 2012-09-19 19:42:14 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-19 19:49:24 +0200 |
commit | cb3591e69738c808d26ba15eb02414fedfcd91cc (patch) | |
tree | 8a85b3c8dec99d24862582c97bc4134dfbfc5cad /libavutil/avutil.h | |
parent | d5fd610dabb4c7a6f63d4479e66c93c37339b6c0 (diff) | |
download | ffmpeg-cb3591e69738c808d26ba15eb02414fedfcd91cc.tar.gz |
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>
Diffstat (limited to 'libavutil/avutil.h')
-rw-r--r-- | libavutil/avutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/avutil.h b/libavutil/avutil.h index 94f9ee85bd..cd02b35d8c 100644 --- a/libavutil/avutil.h +++ b/libavutil/avutil.h @@ -223,7 +223,7 @@ const char *av_get_media_type_string(enum AVMediaType media_type); * 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 |