Commit 9dac77a7 authored by Michael Niedermayer's avatar Michael Niedermayer

argh

Originally committed as revision 3347 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3dc10d47
...@@ -524,11 +524,12 @@ int h261_decode_picture_header(H261Context *h){ ...@@ -524,11 +524,12 @@ int h261_decode_picture_header(H261Context *h){
static int h261_decode_gob(H261Context *h){ static int h261_decode_gob(H261Context *h){
MpegEncContext * const s = &h->s; MpegEncContext * const s = &h->s;
int v;
ff_set_qscale(s, s->qscale); ff_set_qscale(s, s->qscale);
/* check for empty gob */ /* check for empty gob */
int v= show_bits(&s->gb, 15); v= show_bits(&s->gb, 15);
if(get_bits_count(&s->gb) + 15 > s->gb.size_in_bits){ if(get_bits_count(&s->gb) + 15 > s->gb.size_in_bits){
v>>= get_bits_count(&s->gb) + 15 - s->gb.size_in_bits; v>>= get_bits_count(&s->gb) + 15 - s->gb.size_in_bits;
......
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