From: Ronald S. Bultje Date: Sun, 1 Jun 2003 12:53:44 +0000 (+0000) Subject: Oops X-Git-Tag: BRANCH-ERROR-ROOT~152 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d379242755ed5772155530f17613733d09985eaa;p=platform%2Fupstream%2Fgst-plugins-good.git Oops Original commit message from CVS: Oops --- diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c index c1fd231..3a92544 100644 --- a/gst/avi/gstavimux.c +++ b/gst/avi/gstavimux.c @@ -1001,7 +1001,7 @@ gst_avimux_stop_file (GstAviMux *avimux) if (avimux->audio_pad_connected) { if (avimux->auds_hdr.scale) - avimux->auds_hdr.length = avimux->audio_size/(avimux->auds.size/8); + avimux->auds_hdr.length = avimux->audio_size/(avimux->auds.channels*avimux->auds.size/8); else avimux->auds_hdr.length = 0; /* urm...? FIXME! ;-) */