[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec h264.c,1.203,1.204

Loren Merritt CVS lorenm
Fri May 5 20:08:04 CEST 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv18478

Modified Files:
	h264.c 
Log Message:
reinit quant matrices if pps is overwritten by another of the same pps_id.



Index: h264.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h264.c,v
retrieving revision 1.203
retrieving revision 1.204
diff -u -d -r1.203 -r1.204
--- h264.c	30 Apr 2006 19:31:45 -0000	1.203
+++ h264.c	5 May 2006 18:08:01 -0000	1.204
@@ -7390,6 +7390,8 @@
     pps->constrained_intra_pred= get_bits1(&s->gb);
     pps->redundant_pic_cnt_present = get_bits1(&s->gb);
 
+    pps->transform_8x8_mode= 0;
+    h->dequant_coeff_pps= -1; //contents of sps/pps can change even if id doesn't, so reinit
     memset(pps->scaling_matrix4, 16, 6*16*sizeof(uint8_t));
     memset(pps->scaling_matrix8, 16, 2*64*sizeof(uint8_t));
 





More information about the ffmpeg-cvslog mailing list