Revision c53d2d90 libavcodec/mpeg12.c

View differences:

libavcodec/mpeg12.c
3096 3096
    if(s2->flags&CODEC_FLAG_TRUNCATED){
3097 3097
        int next= ff_mpeg1_find_frame_end(&s2->parse_context, buf, buf_size);
3098 3098

  
3099
        if( ff_combine_frame(&s2->parse_context, next, &buf, &buf_size) < 0 )
3099
        if( ff_combine_frame(&s2->parse_context, next, (const uint8_t **)&buf, &buf_size) < 0 )
3100 3100
            return buf_size;
3101 3101
    }
3102 3102

  

Also available in: Unified diff