snowenc: fix use of deprecated API
authorNicolas Frattaroli <ffmpeg@fratti.ch>
Thu, 2 Nov 2017 19:12:48 +0000 (20:12 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 3 Nov 2017 12:33:14 +0000 (13:33 +0100)
commit6a50a8f340161a0b65feb3537591b0381a6a6b38
tree2b68e616d1bdeb8cb19ed505bed88736f57d1311
parent1c06a32cfa5798332c1c879834a831e1e12c6f53
snowenc: fix use of deprecated API

Replace avcodec_get_chroma_sub_sample with the recommended
av_pix_fmt_get_chroma_sub_sample, which fixes a compilation warning.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/snowenc.c