Mercurial > libavformat.hg
changeset 699:2f5f4578a076 libavformat
"put_s should store signed values. Spotted on #mplayerdev by someone I
don't remember." patch by (Luca Barbato [lu_zero gentoo org)
author | michael |
---|---|
date | Sun, 13 Mar 2005 01:58:29 +0000 |
parents | 829c5c8e5cf2 |
children | a5e6e0e61e24 |
files | nut.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/nut.c Sun Mar 13 00:13:01 2005 +0000 +++ b/nut.c Sun Mar 13 01:58:29 2005 +0000 @@ -420,7 +420,7 @@ 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); }