diff options
Diffstat (limited to 'chromium/third_party/ffmpeg/libavformat/h261dec.c')
-rw-r--r-- | chromium/third_party/ffmpeg/libavformat/h261dec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/ffmpeg/libavformat/h261dec.c b/chromium/third_party/ffmpeg/libavformat/h261dec.c index 1b254d613ac..8d882aec61a 100644 --- a/chromium/third_party/ffmpeg/libavformat/h261dec.c +++ b/chromium/third_party/ffmpeg/libavformat/h261dec.c @@ -33,7 +33,7 @@ static int h261_probe(AVProbeData *p) int src_fmt=0; GetBitContext gb; - init_get_bits(&gb, p->buf, p->buf_size*8); + init_get_bits8(&gb, p->buf, p->buf_size); for(i=0; i<p->buf_size*8; i++){ if ((code & 0x01ff0000) || !(code & 0xff00)) { @@ -56,9 +56,9 @@ static int h261_probe(AVProbeData *p) } } if(valid_psc > 2*invalid_psc + 6){ - return 50; + return AVPROBE_SCORE_EXTENSION; }else if(valid_psc > 2*invalid_psc + 2) - return 25; + return AVPROBE_SCORE_EXTENSION / 2; return 0; } |