[FFmpeg-devel] [PATCH]Fix vqa regression
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu Nov 22 00:34:31 CET 2012
Hi!
Attached patch fixes ticket #1942 for me.
Please review, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c
index 07346ec..2980f94 100644
--- a/libavcodec/vqavideo.c
+++ b/libavcodec/vqavideo.c
@@ -566,9 +566,7 @@ static int vqa_decode_chunk(VqaContext *s)
s->partial_countdown--;
if (s->partial_countdown <= 0) {
- GetByteContext gb;
-
- bytestream2_init(&gb, s->next_codebook_buffer, s->next_codebook_buffer_index);
+ bytestream2_init(&s->gb, s->next_codebook_buffer, s->next_codebook_buffer_index);
/* decompress codebook */
if ((res = decode_format80(s, s->next_codebook_buffer_index,
s->codebook, s->codebook_size, 0)) < 0)
More information about the ffmpeg-devel
mailing list