Browse Source

10l

Originally committed as revision 2368 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Alex Beregszaszi 22 years ago
parent
commit
c58222c56c
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavcodec/h264.c
  2. +1
    -1
      libavcodec/wmv2.c

+ 1
- 1
libavcodec/h264.c 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


+ 1
- 1
libavcodec/wmv2.c 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));


Loading…
Cancel
Save