diff options
author | Martin Storsjö <martin@martin.st> | 2013-09-28 00:34:35 +0300 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-10-04 03:52:08 +0200 |
commit | 4d60ab62e05decc562645cd6f813f7c9e69637ee (patch) | |
tree | 9cd4c2fcdecef490fb51f58a9e50ba0173918c41 /libavdevice/dv1394.c | |
parent | 8bd27a167b6e22e7da964df1638c493d51a9663b (diff) | |
download | ffmpeg-4d60ab62e05decc562645cd6f813f7c9e69637ee.tar.gz |
vqf: Make sure sample_rate is set to a valid value
This avoids divisions by zero later (and possibly assertions in
time base scaling), since an invalid rate_flag combined with an
invalid bitrate below could pass the mode combination test.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 9277050e2918e0a0df9689721a188a604d886616)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavdevice/dv1394.c')
0 files changed, 0 insertions, 0 deletions