Revision d509c743 libavcodec/dv.c

View differences:

libavcodec/dv.c
1119 1119
    int buf_size = avpkt->size;
1120 1120
    DVVideoContext *s = avctx->priv_data;
1121 1121

  
1122
    s->sys = dv_frame_profile(buf);
1122
    s->sys = dv_frame_profile(s->sys, buf, buf_size);
1123 1123
    if (!s->sys || buf_size < s->sys->frame_size || dv_init_dynamic_tables(s->sys))
1124 1124
        return -1; /* NOTE: we only accept several full frames */
1125 1125

  

Also available in: Unified diff