diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2005-03-13 01:58:29 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-03-13 01:58:29 +0000 |
commit | 7071e56799a4b0d22cd0c4ca1b30ce4112f24c48 (patch) | |
tree | 056c66e0d2b25699cbba197f1907797e1f349c74 /libavformat/nut.c | |
parent | 27a5fe5fdf9d017a344e9e0aee143244b4adebb9 (diff) | |
download | ffmpeg-7071e56799a4b0d22cd0c4ca1b30ce4112f24c48.tar.gz |
"put_s should store signed values. Spotted on #mplayerdev by someone I
don't remember." patch by (Luca Barbato [lu_zero gentoo org)
Originally committed as revision 4035 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nut.c')
-rw-r--r-- | libavformat/nut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nut.c b/libavformat/nut.c index 2592d320f2..daa429c848 100644 --- 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, uint64_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); } |