diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-01-28 23:52:50 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-01-29 13:48:13 +0000 |
commit | ce20edb7bd6c1768ef5f4d181d7ba27a0e7945bd (patch) | |
tree | 88e9b5b2245fa9fbbc6d360d62f4b00b9bfc17b2 /libavformat/rtpenc_xiph.c | |
parent | 0745116c10e5650952c39ea543c66b12fba854e6 (diff) | |
download | ffmpeg-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 'libavformat/rtpenc_xiph.c')
0 files changed, 0 insertions, 0 deletions