summaryrefslogtreecommitdiff
path: root/tests/videogen.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-16 13:08:32 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-18 15:36:10 +0100
commitce0124acacd9acbfdc267464a4b52947a249b4bd (patch)
tree4dd29d99b6ada89f27f9873e063b4357e6f5719d /tests/videogen.c
parent50c449ac24fbb4c03c15d2e2026cef2204b80385 (diff)
mpeg12: do not fail on zero dimensions in the sequence header.
The total frame size is a combination of the 12 bits in the sequence header and 2 more bits in the the sequence extension. While the specification explicitly forbids the dimensions from the sequence header from being 0 (thus ruling out multiples of 4096), such videos apparrently exist in the wild so we should attempt to decode them. Based on a patch by Michael Niedermayer <michaelni@gmx.at> Fixes Bug 416.
Diffstat (limited to 'tests/videogen.c')
0 files changed, 0 insertions, 0 deletions