[MPlayer-cvslog] CVS: main/libmpdemux demux_audio.c,1.42,1.43
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Tue Feb 7 23:12:37 CET 2006
- Previous message: [MPlayer-cvslog] CVS: main/libmpdemux demux_asf.c, 1.40, 1.41 demux_avi.c, 1.70, 1.71 demux_avs.c, 1.6, 1.7 demux_demuxers.c, 1.7, 1.8 demux_film.c, 1.14, 1.15 demux_fli.c, 1.11, 1.12 demux_lavf.c, 1.24, 1.25 demux_mf.c, 1.14, 1.15 demux_mov.c, 1.136, 1.137 demux_mpg.c, 1.69, 1.70 demux_nsv.c, 1.12, 1.13 demux_nuv.c, 1.16, 1.17 demux_pva.c, 1.7, 1.8 demux_rawdv.c, 1.12, 1.13 demux_real.c, 1.86, 1.87 demux_realaud.c, 1.11, 1.12 demux_ts.c, 1.42, 1.43 demux_ty.c, 1.13, 1.14 demux_vqf.c, 1.6, 1.7 demux_y4m.c, 1.10, 1.11 demuxer.c, 1.214, 1.215 demuxer.h, 1.85, 1.86
- Next message: [MPlayer-cvslog] CVS: main/etc codecs.conf,1.457,1.458
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv13693
Modified Files:
demux_audio.c
Log Message:
read data in nBlockAlign aligned chunks
Index: demux_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_audio.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- demux_audio.c 18 Nov 2005 14:39:18 -0000 1.42
+++ demux_audio.c 7 Feb 2006 22:12:34 -0000 1.43
@@ -428,7 +428,10 @@
}
} break;
case WAV : {
+ unsigned align = sh_audio->wf->nBlockAlign;
l = sh_audio->wf->nAvgBytesPerSec;
+ if (align)
+ l = (l + align - 1) / align * align;
dp = new_demux_packet(l);
l = stream_read(s,dp->buffer,l);
priv->last_pts = priv->last_pts < 0 ? 0 : priv->last_pts + l/(float)sh_audio->i_bps;
- Previous message: [MPlayer-cvslog] CVS: main/libmpdemux demux_asf.c, 1.40, 1.41 demux_avi.c, 1.70, 1.71 demux_avs.c, 1.6, 1.7 demux_demuxers.c, 1.7, 1.8 demux_film.c, 1.14, 1.15 demux_fli.c, 1.11, 1.12 demux_lavf.c, 1.24, 1.25 demux_mf.c, 1.14, 1.15 demux_mov.c, 1.136, 1.137 demux_mpg.c, 1.69, 1.70 demux_nsv.c, 1.12, 1.13 demux_nuv.c, 1.16, 1.17 demux_pva.c, 1.7, 1.8 demux_rawdv.c, 1.12, 1.13 demux_real.c, 1.86, 1.87 demux_realaud.c, 1.11, 1.12 demux_ts.c, 1.42, 1.43 demux_ty.c, 1.13, 1.14 demux_vqf.c, 1.6, 1.7 demux_y4m.c, 1.10, 1.11 demuxer.c, 1.214, 1.215 demuxer.h, 1.85, 1.86
- Next message: [MPlayer-cvslog] CVS: main/etc codecs.conf,1.457,1.458
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list