Revision 4f90688b libavformat/matroskadec.c

View differences:

libavformat/matroskadec.c
901 901
    int result = 0;
902 902
    int olen;
903 903

  
904
    if (pkt_size >= 10000000)
905
        return -1;
906

  
904 907
    switch (encodings[0].compression.algo) {
905 908
    case MATROSKA_TRACK_ENCODING_COMP_HEADERSTRIP:
906 909
        return encodings[0].compression.settings.size;

Also available in: Unified diff