Revision a0f80050

View differences:

libavcodec/h264.c
3708 3708
        return -1;
3709 3709
    }
3710 3710
    if(!h0->pps_buffers[pps_id]) {
3711
        av_log(h->s.avctx, AV_LOG_ERROR, "non-existing PPS referenced\n");
3711
        av_log(h->s.avctx, AV_LOG_ERROR, "non-existing PPS %u referenced\n", pps_id);
3712 3712
        return -1;
3713 3713
    }
3714 3714
    h->pps= *h0->pps_buffers[pps_id];
3715 3715

  
3716 3716
    if(!h0->sps_buffers[h->pps.sps_id]) {
3717
        av_log(h->s.avctx, AV_LOG_ERROR, "non-existing SPS referenced\n");
3717
        av_log(h->s.avctx, AV_LOG_ERROR, "non-existing SPS %u referenced\n", h->pps.sps_id);
3718 3718
        return -1;
3719 3719
    }
3720 3720
    h->sps = *h0->sps_buffers[h->pps.sps_id];

Also available in: Unified diff