Revision ee6db0de libavcodec/h264.c
libavcodec/h264.c | ||
---|---|---|
2495 | 2495 |
if(h->slice_type_nos!=FF_I_TYPE && ff_h264_decode_ref_pic_list_reordering(h) < 0) |
2496 | 2496 |
return -1; |
2497 | 2497 |
|
2498 |
//FIXME mt gives valgrind warnings and crashes if this is uncommented |
|
2499 |
/* |
|
2500 |
|
|
2501 | 2498 |
if(h->slice_type_nos!=FF_I_TYPE){ |
2502 | 2499 |
s->last_picture_ptr= &h->ref_list[0][0]; |
2503 | 2500 |
ff_copy_picture(&s->last_picture, s->last_picture_ptr); |
... | ... | |
2507 | 2504 |
ff_copy_picture(&s->next_picture, s->next_picture_ptr); |
2508 | 2505 |
} |
2509 | 2506 |
|
2510 |
*/ |
|
2511 |
|
|
2512 | 2507 |
if( (h->pps.weighted_pred && h->slice_type_nos == FF_P_TYPE ) |
2513 | 2508 |
|| (h->pps.weighted_bipred_idc==1 && h->slice_type_nos== FF_B_TYPE ) ) |
2514 | 2509 |
pred_weight_table(h); |
Also available in: Unified diff