avcodec/h264_ps: fix printed num_reorder_frames value
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 22 Feb 2014 01:55:55 +0000 (02:55 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 22 Feb 2014 01:55:55 +0000 (02:55 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264_ps.c

index 91d73cc..603f168 100644 (file)
@@ -554,7 +554,7 @@ int ff_h264_decode_seq_parameter_set(H264Context *h)
                sps->timing_info_present_flag ? sps->num_units_in_tick : 0,
                sps->timing_info_present_flag ? sps->time_scale : 0,
                sps->bit_depth_luma,
-               h->sps.bitstream_restriction_flag ? sps->num_reorder_frames : -1
+               sps->bitstream_restriction_flag ? sps->num_reorder_frames : -1
                );
     }
     sps->new = 1;