Commit fea56e03 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Avcodec chroma: use a more resistant ifdef for 0BGR

parent e4980cf9
......@@ -120,7 +120,7 @@ static const struct
VLC_RGB( VLC_CODEC_RGB32, PIX_FMT_RGB32, PIX_FMT_BGR32, 0x00ff0000, 0x0000ff00, 0x000000ff )
VLC_RGB( VLC_CODEC_RGB32, PIX_FMT_RGB32_1, PIX_FMT_BGR32_1, 0xff000000, 0x00ff0000, 0x0000ff00 )
#if (LIBAVUTIL_VERSION_MICRO >= 100)
#ifdef AV_PIX_FMT_0BGR32
VLC_RGB( VLC_CODEC_RGB32, AV_PIX_FMT_0BGR32, AV_PIX_FMT_0RGB32, 0x000000ff, 0x0000ff00, 0x00ff0000 )
#endif
......
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