summaryrefslogtreecommitdiffstats
path: root/common/common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-07 16:54:01 +0100
committerwm4 <wm4@nowhere>2016-01-07 16:54:01 +0100
commit6eccd4a573b5c1d15ce83ef3c261e775ddca0685 (patch)
tree9ffb30120c54f838537456b450e372786bf7c238 /common/common.c
parent27bc881cd860e6cf3ad360f2f8cb24a21cbcd981 (diff)
downloadmpv-6eccd4a573b5c1d15ce83ef3c261e775ddca0685.tar.bz2
mpv-6eccd4a573b5c1d15ce83ef3c261e775ddca0685.tar.xz
img_format: fix compilation on older libavutil releases
AVComponentDescriptor.offset was introduced relatively recently. On older releases, you have to use AVComponentDescriptor.offset_plus1, which is now deprecated. Instead of adding ifdeffery, assume AV_PIX_FMT_NV21 is the only format for which this applies (and will remain the only case), which is probably true enough.
Diffstat (limited to 'common/common.c')
0 files changed, 0 insertions, 0 deletions