summaryrefslogtreecommitdiff
path: root/libavcodec/h264_direct.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/h264_direct.c')
-rw-r--r--libavcodec/h264_direct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_direct.c b/libavcodec/h264_direct.c
index a26a51a330..34a4ff727f 100644
--- a/libavcodec/h264_direct.c
+++ b/libavcodec/h264_direct.c
@@ -130,7 +130,7 @@ void ff_h264_direct_ref_list_init(H264Context * const h){
h->col_fieldoff= 2*(h->ref_list[1][0].reference) - 3;
}
- if(cur->pict_type != FF_B_TYPE || h->direct_spatial_mv_pred)
+ if(cur->pict_type != AV_PICTURE_TYPE_B || h->direct_spatial_mv_pred)
return;
for(list=0; list<2; list++){