Commit 60e6aa8b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

FFmpeg: protect against old versions of avcodec...

parent 9acfc355
......@@ -360,12 +360,14 @@ static const struct
{ VLC_CODEC_ALAW, CODEC_ID_PCM_ALAW, AUDIO_ES },
{ VLC_CODEC_MULAW, CODEC_ID_PCM_MULAW, AUDIO_ES },
{ VLC_CODEC_S24DAUD, CODEC_ID_PCM_S24DAUD, AUDIO_ES },
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 51, 66, 0 )
#if ( !defined( WORDS_BIGENDIAN ) )
{ VLC_CODEC_FL32, CODEC_ID_PCM_F32LE, AUDIO_ES },
{ VLC_CODEC_FL64, CODEC_ID_PCM_F64LE, AUDIO_ES },
#else
{ VLC_CODEC_FL32, CODEC_ID_PCM_F32BE, AUDIO_ES },
{ VLC_CODEC_FL64, CODEC_ID_PCM_F64BE, AUDIO_ES },
#endif
#endif
/* Subtitle streams */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment