Revision 50eb40a7 libavcodec/h264.c

View differences:

libavcodec/h264.c
2174 2174
                h->slice_num= h->slice_table[mb_xy];
2175 2175
                mb_type= s->current_picture.mb_type[mb_xy];
2176 2176
                h->list_count= h->list_counts[mb_xy];
2177
                if(h->list_count==2){
2178
                    h->slice_type= h->slice_type_nos= FF_B_TYPE;
2179
                }else if(h->list_count==1){
2180
                    h->slice_type= h->slice_type_nos= FF_P_TYPE;
2181
                }else
2182
                    h->slice_type= h->slice_type_nos= FF_I_TYPE;
2183 2177

  
2184 2178
                if(FRAME_MBAFF)
2185 2179
                    h->mb_mbaff = h->mb_field_decoding_flag = !!IS_INTERLACED(mb_type);

Also available in: Unified diff