avcodec/ffv1enc: Check that the crc + version combination is supported
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 21 Apr 2018 20:19:31 +0000 (22:19 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 23 Apr 2018 23:29:17 +0000 (01:29 +0200)
commitd9706f79c17a33bf97e51a7d6ab211ce83a463ee
tree3cece83c5cdfa3a07831fe0a76eba0a28c006371
parent8132d362facd6bde7dd158733bf2b4723295ec5b
avcodec/ffv1enc: Check that the crc + version combination is supported

The crc flag is only stored since version 3 thus before this crcs do not
work. We increase the version as needed same as we do with pix_fmts

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