aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lzwenc.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-01-28 23:52:50 +0000
committerMans Rullgard <mans@mansr.com>2011-01-29 13:48:13 +0000
commitce20edb7bd6c1768ef5f4d181d7ba27a0e7945bd (patch)
tree88e9b5b2245fa9fbbc6d360d62f4b00b9bfc17b2 /libavcodec/lzwenc.c
parent0745116c10e5650952c39ea543c66b12fba854e6 (diff)
downloadffmpeg-ce20edb7bd6c1768ef5f4d181d7ba27a0e7945bd.tar.gz
Vorbis-in-Ogg: Do not set timebase to invalid values
Avoids an assert when the sample rate is invalid and the timebase is thus set to e.g. 1/0. Sample file is http://samples.mplayerhq.hu/ogg/fuzzed-srate-crash.ogg This is a quick fix for a crash, not a final solution. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/lzwenc.c')
0 files changed, 0 insertions, 0 deletions