OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5fd610
)
avutil: Cast AV_NOPTS_VALUE to int64_t explicitly
author
Andrey Utkin
<andrey.krieger.utkin@gmail.com>
Wed, 19 Sep 2012 17:42:14 +0000
(19:42 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 19 Sep 2012 17:49:24 +0000
(19:49 +0200)
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>
libavutil/avutil.h
patch
|
blob
|
history
diff --git
a/libavutil/avutil.h
b/libavutil/avutil.h
index
94f9ee8
..
cd02b35
100644
(file)
--- 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