Revision 0c3ee78f libavcodec/cinepak.c

View differences:

libavcodec/cinepak.c
325 325

  
326 326
    frame_flags = s->data[0];
327 327
    num_strips  = BE_16 (&s->data[8]);
328
    encoded_buf_size = BE_16 (&s->data[2]);
328
    encoded_buf_size = ((s->data[1] << 16) | BE_16 (&s->data[2]));
329 329
    if (encoded_buf_size != s->size)
330 330
        sega_film_data = 1;
331 331
    if (sega_film_data)

Also available in: Unified diff