[vlc-commits] commit: Fixed output format of audio format.c convertor. (Laurent Aimar )
git at videolan.org
git at videolan.org
Fri May 14 00:07:29 CEST 2010
vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu May 13 16:56:43 2010 +0200| [8a191173feb647a5c9f020831a827165ae0091b9] | committer: Jean-Baptiste Kempf
Fixed output format of audio format.c convertor.
It closes #3620.
(cherry picked from commit fd49cf22125e2c68e4055b8edef89a4661f12d30)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=8a191173feb647a5c9f020831a827165ae0091b9
---
modules/audio_filter/converter/format.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/audio_filter/converter/format.c b/modules/audio_filter/converter/format.c
index fc13add..bef50b2 100644
--- a/modules/audio_filter/converter/format.c
+++ b/modules/audio_filter/converter/format.c
@@ -146,7 +146,7 @@ static int Open(vlc_object_t *object)
end:
dst->audio = src->audio;
dst->audio.i_format = dst->i_codec;
- dst->audio.i_bitspersample = aout_BitsPerSample(dst->i_codec);
+ aout_FormatPrepare(&dst->audio);
msg_Dbg(filter, "%4.4s->%4.4s, bits per sample: %i->%i",
(char *)&src->i_codec, (char *)&dst->i_codec,
More information about the vlc-commits
mailing list