Originally committed as revision 2368 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Alex Beregszaszi 2003-10-13 08:02:46 +00:00
parent 431f2172cd
commit c58222c56c
2 changed files with 2 additions and 2 deletions

View File

@ -4256,7 +4256,7 @@ int main(){
}
init_put_bits(&pb, temp, SIZE, NULL, NULL);
init_put_bits(&pb, temp, SIZE);
printf("testing signed exp golomb\n");
for(i=0; i<COUNT; i++){
START_TIMER

View File

@ -64,7 +64,7 @@ static int encode_ext_header(Wmv2Context *w){
PutBitContext pb;
int code;
init_put_bits(&pb, s->avctx->extradata, s->avctx->extradata_size, NULL, NULL);
init_put_bits(&pb, s->avctx->extradata, s->avctx->extradata_size);
put_bits(&pb, 5, s->avctx->frame_rate / s->avctx->frame_rate_base); //yes 29.97 -> 29
put_bits(&pb, 11, FFMIN(s->bit_rate/1024, 2047));