[vlc-commits] commit: live: use VLC_CODEC_* for L8 and L16 ( =?UTF-8?Q?R=C3=A9mi=20Denis=2DCourmont=20?=)
git at videolan.org
git at videolan.org
Thu Jan 6 17:53:37 CET 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jan 6 18:50:27 2011 +0200| [d85b3a7161b77a0f7d89fc812f64cb2f39b85470] | committer: Rémi Denis-Courmont
live: use VLC_CODEC_* for L8 and L16
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d85b3a7161b77a0f7d89fc812f64cb2f39b85470
---
modules/demux/live555.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index 20b485c..81752e0 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -846,12 +846,12 @@ static int SessionsSetup( demux_t *p_demux )
}
else if( !strcmp( sub->codecName(), "L16" ) )
{
- tk->fmt.i_codec = VLC_FOURCC( 't', 'w', 'o', 's' );
+ tk->fmt.i_codec = VLC_CODEC_S16B;
tk->fmt.audio.i_bitspersample = 16;
}
else if( !strcmp( sub->codecName(), "L8" ) )
{
- tk->fmt.i_codec = VLC_FOURCC( 'a', 'r', 'a', 'w' );
+ tk->fmt.i_codec = VLC_CODEC_U8;
tk->fmt.audio.i_bitspersample = 8;
}
else if( !strcmp( sub->codecName(), "PCMU" ) )
More information about the vlc-commits
mailing list