[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec vp3.c,1.66,1.67
Mike Melanson CVS
melanson
Tue May 24 16:21:44 CEST 2005
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv2228/libavcodec
Modified Files:
vp3.c
Log Message:
read loop filter limit values from Theora header, courtesy of Matthieu
Castet (castet.matthieu -at- free.fr)
Index: vp3.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/vp3.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- vp3.c 21 May 2005 19:31:16 -0000 1.66
+++ vp3.c 24 May 2005 14:21:42 -0000 1.67
@@ -3420,9 +3420,9 @@
if (s->theora >= 0x030200) {
n = get_bits(&gb, 3);
- /* loop filter table */
+ /* loop filter limit values table */
for (i = 0; i < 64; i++)
- skip_bits(&gb, n);
+ s->filter_limit_values[i] = get_bits(&gb, n);
}
if (s->theora >= 0x030200)
@@ -3497,10 +3497,6 @@
}
}
- /* XXX FIXME: these limit values need to come from the Theora header */
- for (i = 0; i < 64; i++)
- s->filter_limit_values[i] = vp31_filter_limit_values[i];
-
s->theora_tables = 1;
return 0;
More information about the ffmpeg-cvslog
mailing list