Browse Source

Fix mpeg-ps misdetected as m4v.

Fix issue2326

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.8
Michael Niedermayer 14 years ago
parent
commit
2ee453610f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/m4vdec.c

+ 1
- 1
libavformat/m4vdec.c View File

@@ -45,7 +45,7 @@ static int mpeg4video_probe(AVProbeData *probe_packet)
}

if (VOP >= VISO && VOP >= VOL && VO >= VOL && VOL > 0 && res==0)
return AVPROBE_SCORE_MAX/2;
return VOP+VO > 3 ? AVPROBE_SCORE_MAX/2 : AVPROBE_SCORE_MAX/4;
return 0;
}



Loading…
Cancel
Save