summaryrefslogtreecommitdiffstats
path: root/libavcodec/cook_parser.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2019-12-02 10:41:12 +0100
committerAndreas Rheinhardt <[email protected]>2020-05-01 06:52:34 +0200
commit8287c201536e52f2765cfa9a70551814a6f36ebb (patch)
tree0892b5874ebae167f6b02ee7893365ae810c8d66 /libavcodec/cook_parser.c
parent9dd2587f60015a211f3120233e44e829ffd66c6f (diff)
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 <[email protected]>
Diffstat (limited to 'libavcodec/cook_parser.c')
0 files changed, 0 insertions, 0 deletions