aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pnmenc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-09-28 00:34:35 +0300
committerMartin Storsjö <martin@martin.st>2013-09-29 18:46:21 +0300
commit9277050e2918e0a0df9689721a188a604d886616 (patch)
tree4edac7535036e4f6abb10273ec3b1e11ce0216ae /libavcodec/pnmenc.c
parent0767bfd1994c4bf22e167ffadb8f823a950aad18 (diff)
downloadffmpeg-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