aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-07-26 16:49:00 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-07-26 16:49:00 +0000
commit9dac77a7aa3a5d3a2e1202204064c5a747fa0b5b (patch)
tree9f10554d2b1039d79eaa0eda98d335a08282dce0
parent3dc10d4742803d91d6c8b2dd45d730f865f7b1f2 (diff)
downloadffmpeg-9dac77a7aa3a5d3a2e1202204064c5a747fa0b5b.tar.gz
argh
Originally committed as revision 3347 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/h261.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/h261.c b/libavcodec/h261.c
index 619a724360..731e7be689 100644
--- a/libavcodec/h261.c
+++ b/libavcodec/h261.c
@@ -524,11 +524,12 @@ int h261_decode_picture_header(H261Context *h){
static int h261_decode_gob(H261Context *h){
MpegEncContext * const s = &h->s;
+ int v;
ff_set_qscale(s, s->qscale);
/* 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){
v>>= get_bits_count(&s->gb) + 15 - s->gb.size_in_bits;