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, 9 Jul 2018 23:52:55 +0000 (01:52 +0200)
commit8eee712737c2aa2f643998e752f480ad42bb0612
tree75f56fcf56e39cc758be4856167d487e795396f4
parent18772823239094cb23df43ceb01152a9bcf80710
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