[FFmpeg-cvslog] r22178 - trunk/libavcodec/h264.c
michael
subversion
Wed Mar 3 20:32:50 CET 2010
Author: michael
Date: Wed Mar 3 20:32:50 2010
New Revision: 22178
Log:
cosmetic addition of {}
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c Wed Mar 3 20:31:58 2010 (r22177)
+++ trunk/libavcodec/h264.c Wed Mar 3 20:32:50 2010 (r22178)
@@ -2004,9 +2004,9 @@ static int decode_slice_header(H264Conte
if( (h->pps.weighted_pred && h->slice_type_nos == FF_P_TYPE )
|| (h->pps.weighted_bipred_idc==1 && h->slice_type_nos== FF_B_TYPE ) )
pred_weight_table(h);
- else if(h->pps.weighted_bipred_idc==2 && h->slice_type_nos== FF_B_TYPE)
+ else if(h->pps.weighted_bipred_idc==2 && h->slice_type_nos== FF_B_TYPE){
implicit_weight_table(h);
- else {
+ }else {
h->use_weight = 0;
for (i = 0; i < 2; i++) {
h->luma_weight_flag[i] = 0;
More information about the ffmpeg-cvslog
mailing list