]> git.sesse.net Git - vlc/commitdiff
avcodec encoder: aac ssr profile is supported
authorRafaël Carré <funman@videolan.org>
Wed, 19 Feb 2014 18:33:45 +0000 (19:33 +0100)
committerRafaël Carré <funman@videolan.org>
Wed, 19 Feb 2014 18:34:09 +0000 (19:34 +0100)
modules/codec/avcodec/encoder.c

index 9ba3e14c290b0bcb5a723acaf0b1770175814f50..5c302118407f390baeb1973a97ce9a76cefd0732 100644 (file)
@@ -393,10 +393,8 @@ int OpenEncoder( vlc_object_t *p_this )
             p_sys->i_aac_profile = FF_PROFILE_AAC_MAIN;
         else if( !strncmp( psz_val, "low", 3 ) )
             p_sys->i_aac_profile = FF_PROFILE_AAC_LOW;
-#if 0    /* Not supported by FAAC encoder */
         else if( !strncmp( psz_val, "ssr", 3 ) )
             p_sys->i_aac_profile = FF_PROFILE_AAC_SSR;
-#endif
         else if( !strncmp( psz_val, "ltp", 3 ) )
             p_sys->i_aac_profile = FF_PROFILE_AAC_LTP;
 #if LIBAVCODEC_VERSION_CHECK( 54, 19, 0, 35, 100 )