Revision 26aedb4a libavcodec/h264_parser.c

View differences:

libavcodec/h264_parser.c
261 261
        parse_nal_units(s, avctx, buf, buf_size);
262 262

  
263 263
        if (h->sei_cpb_removal_delay >= 0) {
264
        s->dts_sync_point    = h->sei_buffering_period_present;
265
        s->dts_ref_dts_delta = h->sei_cpb_removal_delay;
266
        s->pts_dts_delta     = h->sei_dpb_output_delay;
264
            s->dts_sync_point    = h->sei_buffering_period_present;
265
            s->dts_ref_dts_delta = h->sei_cpb_removal_delay;
266
            s->pts_dts_delta     = h->sei_dpb_output_delay;
267 267
        } else {
268 268
            s->dts_sync_point    = INT_MIN;
269 269
            s->dts_ref_dts_delta = INT_MIN;

Also available in: Unified diff