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, 16 Jul 2018 17:06:26 +0000 (19:06 +0200)
commitbcc47312d4fd7b4ccedca400e9ea9d650a77f4bb
tree20cc30ac809642ba9df51f6f40f81de610beb2c7
parent2d975fff05488e64999360eb775c5a8219a05958
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>
(cherry picked from commit d9706f79c17a33bf97e51a7d6ab211ce83a463ee)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ffv1enc.c