Skip to content

Commit

Permalink
Add version guards on avutil for AV_PIX_FMT_GBRP
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkempf committed Mar 22, 2014
1 parent 1ab751e commit 168a83f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/codec/avcodec/chroma.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ static const struct
/* Paletized RGB */
{VLC_CODEC_RGBP, PIX_FMT_PAL8, 0, 0, 0},

#if LIBAVUTIL_VERSION_CHECK(51, 42, 0, 74,100)
{VLC_CODEC_GBR_PLANAR, AV_PIX_FMT_GBRP, 0, 0, 0 },
#endif

/* XYZ */
#if LIBAVUTIL_VERSION_CHECK(52, 10, 0, 25, 100)
Expand Down

0 comments on commit 168a83f

Please sign in to comment.