[Mplayer-cvslog] CVS: main dec_audio.c,1.69,1.70
Arpi of Ize
arpi at mplayer.dev.hu
Sun Dec 30 05:44:39 CET 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv24992
Modified Files:
dec_audio.c
Log Message:
a52: CRC check for AC3 frames
Index: dec_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_audio.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- dec_audio.c 30 Dec 2001 03:57:55 -0000 1.69
+++ dec_audio.c 30 Dec 2001 04:44:20 -0000 1.70
@@ -246,6 +246,10 @@
sh_audio->samplerate=sample_rate;
sh_audio->i_bps=bit_rate/8;
demux_read_data(sh_audio->ds,sh_audio->a_in_buffer+7,length-7);
+
+ if(crc16_block(sh_audio->a_in_buffer+2,length-2)!=0)
+ mp_msg(MSGT_DECAUDIO,MSGL_STATUS,"a52: CRC check failed! \n");
+
return length;
}
More information about the MPlayer-cvslog
mailing list