projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27a5fe5
)
"put_s should store signed values. Spotted on #mplayerdev by someone I
author
Luca Barbato
<lu_zero@gentoo.org>
Sun, 13 Mar 2005 01:58:29 +0000
(
01:58
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 13 Mar 2005 01:58:29 +0000
(
01:58
+0000)
don't remember." patch by (Luca Barbato [lu_zero gentoo org)
Originally committed as revision 4035 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/nut.c
patch
|
blob
|
history
diff --git
a/libavformat/nut.c
b/libavformat/nut.c
index
2592d32
..
daa429c
100644
(file)
--- a/
libavformat/nut.c
+++ b/
libavformat/nut.c
@@
-420,7
+420,7
@@
static void put_str(ByteIOContext *bc, const char *string){
put_buffer(bc, string, len);
}
-static void put_s(ByteIOContext *bc,
u
int64_t val){
+static void put_s(ByteIOContext *bc, int64_t val){
if (val<=0) put_v(bc, -2*val );
else put_v(bc, 2*val-1);
}