Commit c58222c5 authored by Alex Beregszaszi's avatar Alex Beregszaszi

10l

Originally committed as revision 2368 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 431f2172
...@@ -4256,7 +4256,7 @@ int main(){ ...@@ -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"); printf("testing signed exp golomb\n");
for(i=0; i<COUNT; i++){ for(i=0; i<COUNT; i++){
START_TIMER START_TIMER
......
...@@ -64,7 +64,7 @@ static int encode_ext_header(Wmv2Context *w){ ...@@ -64,7 +64,7 @@ static int encode_ext_header(Wmv2Context *w){
PutBitContext pb; PutBitContext pb;
int code; 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, 5, s->avctx->frame_rate / s->avctx->frame_rate_base); //yes 29.97 -> 29
put_bits(&pb, 11, FFMIN(s->bit_rate/1024, 2047)); put_bits(&pb, 11, FFMIN(s->bit_rate/1024, 2047));
......
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