[Mplayer-cvslog] CVS: main/libmpdemux demuxer.c,1.92,1.93
Arpi of Ize
arpi at mplayerhq.hu
Wed Apr 24 01:21:22 CEST 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv32111
Modified Files:
demuxer.c
Log Message:
more strict check for .mp3
Index: demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- demuxer.c 21 Apr 2002 02:38:50 -0000 1.92
+++ demuxer.c 23 Apr 2002 23:21:19 -0000 1.93
@@ -659,7 +659,9 @@
} else {
printf("MPEG packet stats: p100: %d p101: %d PES: %d MP3: %d \n",
num_elementary_packets100,num_elementary_packets101,num_elementary_packetsPES,num_mp3audio_packets);
- if(num_mp3audio_packets>50 && num_mp3audio_packets>2*num_elementary_packets100)
+//MPEG packet stats: p100: 458 p101: 458 PES: 0 MP3: 1103 (.m2v)
+ if(num_mp3audio_packets>50 && num_mp3audio_packets>2*num_elementary_packets100
+ && abs(num_elementary_packets100-num_elementary_packets101)>2)
break; // it's .MP3
// some hack to get meaningfull error messages to our unhappy users:
if(num_elementary_packets100>=2 && num_elementary_packets101>=2 &&
More information about the MPlayer-cvslog
mailing list