Commit 65b40af9 authored by alex's avatar alex

set_se_golomb can only write 16bits, add a note about this (ok, maybe it's...

set_se_golomb can only write 16bits, add a note about this (ok, maybe it's brain dead using it with more than 16bits, but..)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4635 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 91653d0c
......@@ -391,9 +391,11 @@ static inline void set_te_golomb(PutBitContext *pb, int i, int range){
}
/**
* write signed exp golomb code.
* write signed exp golomb code. 16 bits at most.
*/
static inline void set_se_golomb(PutBitContext *pb, int i){
// if (i>32767 || i<-32767)
// av_log(NULL,AV_LOG_ERROR,"value out of range %d\n", i);
#if 0
if(i<=0) i= -2*i;
else i= 2*i-1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment