1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00
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"); printf("testing signed exp golomb\n");
for(i=0; i<COUNT; i++){ for(i=0; i<COUNT; i++){
START_TIMER START_TIMER

View File

@ -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));