[vlc-commits] chromecast: Remove dead code

Hugo Beauzée-Luyssen git at videolan.org
Fri Mar 3 15:53:55 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Feb 27 13:04:04 2017 +0100| [5d778ba72e9cd84978120c3dbe06407df04adb11] | committer: Hugo Beauzée-Luyssen

chromecast: Remove dead code

CID #1413313

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5d778ba72e9cd84978120c3dbe06407df04adb11
---

 modules/stream_out/chromecast/cast.cpp | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index 874c563..c0f39fa 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -257,13 +257,7 @@ int sout_stream_sys_t::UpdateOutput( sout_stream_t *p_stream )
             char s_fourcc[5];
             if ( i_codec_audio == 0 )
             {
-                /* avcodec AAC encoder is experimental */
-                if ( i_codec_audio == 0 ||
-                        i_codec_audio == VLC_CODEC_MP4A ||
-                        i_codec_audio == VLC_FOURCC('h', 'a', 'a', 'c') ||
-                        i_codec_audio == VLC_FOURCC('l', 'a', 'a', 'c') ||
-                        i_codec_audio == VLC_FOURCC('s', 'a', 'a', 'c'))
-                    i_codec_audio = DEFAULT_TRANSCODE_AUDIO;
+                i_codec_audio = DEFAULT_TRANSCODE_AUDIO;
                 msg_Dbg( p_stream, "Converting audio to %.4s", (const char*)&i_codec_audio );
                 ssout << "acodec=";
                 vlc_fourcc_to_char( i_codec_audio, s_fourcc );



More information about the vlc-commits mailing list