Revision d84d6fbf libavformat/mpeg.c

View differences:

libavformat/mpeg.c
83 83
        return AVPROBE_SCORE_MAX/2+2; // +1 for .mpg
84 84
    if(priv1 + vid + audio > invalid && (priv1+vid+audio)*9 <= pspack*10)
85 85
        return AVPROBE_SCORE_MAX/2+2; // +1 for .mpg
86
    if((!!vid ^ !!audio) && (audio+vid > 1) && !sys && !pspack && p->buf_size>2048) /* PES stream */
86
    if((!!vid ^ !!audio) && (audio > 4 || vid > 1) && !sys && !pspack && p->buf_size>2048) /* PES stream */
87 87
        return AVPROBE_SCORE_MAX/2+2;
88 88

  
89 89
    //02-Penguin.flac has sys:0 priv1:0 pspack:0 vid:0 audio:1

Also available in: Unified diff