Commit ea5b890a authored by alex's avatar alex

10l


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2368 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 66cc504c
...@@ -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