Revision 0bd433a9

View differences:

libavformat/asfdec.c
864 864
        }
865 865
        //printf("Fragsize %d\n", asf->packet_frag_size);
866 866
    } else {
867
        if (rsize > asf->packet_size_left) {
868
            av_log(s, AV_LOG_ERROR, "packet_replic_size is invalid\n");
869
            return -1;
870
        }
867 871
        asf->packet_frag_size = asf->packet_size_left - rsize;
868 872
        //printf("Using rest  %d %d %d\n", asf->packet_frag_size, asf->packet_size_left, rsize);
869 873
    }

Also available in: Unified diff