avcodec/libx264: fix usage of AVComponentDescriptor depth field release/2.4
authorJames Almer <jamrial@gmail.com>
Thu, 1 Feb 2018 01:38:50 +0000 (22:38 -0300)
committerJames Almer <jamrial@gmail.com>
Thu, 1 Feb 2018 01:39:53 +0000 (22:39 -0300)
commit1cae2f002d4e76a389f41c207b05e9eb9f8b04d3
tree4497920a7af39c533acd82bde5142ecffb4ab836
parent2633ac3a969f60905eb72080289b5d16f6451726
avcodec/libx264: fix usage of AVComponentDescriptor depth field

AVComponentDescriptor.depth is not available in release/2.4

This fixes compilation of the libx264 wrapper.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/libx264.c