diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-12-02 10:41:12 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-01 06:52:34 +0200 |
commit | 8287c201536e52f2765cfa9a70551814a6f36ebb (patch) | |
tree | 0892b5874ebae167f6b02ee7893365ae810c8d66 /doc | |
parent | 9dd2587f60015a211f3120233e44e829ffd66c6f (diff) | |
download | ffmpeg-8287c201536e52f2765cfa9a70551814a6f36ebb.tar.gz |
avformat/matroskadec: Reject sipr flavor > 3
Only flavors 0..3 seem to exist. E.g. rmdec.c treats any flavor > 3
as invalid data. Furthermore, we do not know how big the packets to
create ought to be given that for sipr these values are not read from
the bitstream, but from a table.
Furthermore, flavor is only used for sipr, so only check it for sipr;
rmdec.c does the same. (The old check for flavor being < 0 was
always wrong given that flavor is an int that is read via avio_rb16(),
so it has been removed completely.)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions