diff options
author | Martin Storsjö <martin@martin.st> | 2013-09-28 00:34:35 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-09-29 18:46:21 +0300 |
commit | 9277050e2918e0a0df9689721a188a604d886616 (patch) | |
tree | 4edac7535036e4f6abb10273ec3b1e11ce0216ae /libavcodec/pnmenc.c | |
parent | 0767bfd1994c4bf22e167ffadb8f823a950aad18 (diff) | |
download | ffmpeg-9277050e2918e0a0df9689721a188a604d886616.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>
Diffstat (limited to 'libavcodec/pnmenc.c')
0 files changed, 0 insertions, 0 deletions