lavc/svq3: Fix regression decoding some files.
authorNikolas Bowe <nbowe@google.com>
Tue, 31 Jul 2018 00:22:02 +0000 (17:22 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 3 Aug 2018 00:10:14 +0000 (02:10 +0200)
commit5aeb3b008080d8d4a38f245d557dbc9bd6c36dcf
treeb24507555cb59ff616173c2b6fa75b04633ded2c
parent51ac3f43b8bf3b7f2af555af319cd240bb8b4ebf
lavc/svq3: Fix regression decoding some files.

Fixes some SVQ3 encoded files which fail to decode correctly after 6d6faa2a2d.
These files exhibit lots of artifacts and logs show "Media key encryption is not implemented".
However they decode without artifacts before 6d6faa2a2d.
The attatched patch allows these files to successfully decode, but also reject media key files.

Tested on the files in #6094 and http://samples.mplayerhq.hu/V-codecs/SVQ3/Vertical400kbit.sorenson3.mov

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