From 534c2dd01677f7176481b007f5d4861d35bb334f Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Tue, 23 Apr 2002 00:55:46 +0000 Subject: fix stupid bug in my last commit CVS patchset: 1756 CVS date: 2002/04/23 00:55:46 --- src/demuxers/demux_avi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/demuxers/demux_avi.c b/src/demuxers/demux_avi.c index 318da9500..b768a6dc9 100644 --- a/src/demuxers/demux_avi.c +++ b/src/demuxers/demux_avi.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_avi.c,v 1.78 2002/04/18 12:08:58 miguelfreitas Exp $ + * $Id: demux_avi.c,v 1.79 2002/04/23 00:55:46 miguelfreitas Exp $ * * demultiplexer for avi streams * @@ -455,6 +455,7 @@ static avi_t *AVI_init(demux_avi_t *this) { } else if(lasttag == 2) { AVI->audio[AVI->n_audio-1]->wavex=malloc(n); + memcpy(AVI->audio[AVI->n_audio-1]->wavex, hdrl_data+i, n); AVI->audio[AVI->n_audio-1]->wavex_len=n; AVI->audio[AVI->n_audio-1]->a_fmt = str2ushort(hdrl_data+i ); AVI->audio[AVI->n_audio-1]->a_chans = str2ushort(hdrl_data+i+2); -- cgit v1.2.3