Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-13 07:30:39 +0300
committerMichael Niedermayer <michaelni@gmx.at>2014-12-13 07:48:28 +0300
commitb898c49ba1b60e77780f5b28d6200f984c27dc98 (patch)
tree1afd71ad564d380a08cf5313520b5fd75c3d9285 /libavfilter/vf_uspp.c
parent10ef8f063bfa239c47f2301557a525870c2b88bf (diff)
avfilter/vf_uspp: assert that the qp_type is valid
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_uspp.c')
-rw-r--r--libavfilter/vf_uspp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_uspp.c b/libavfilter/vf_uspp.c
index d0ce63e02f..7526fde806 100644
--- a/libavfilter/vf_uspp.c
+++ b/libavfilter/vf_uspp.c
@@ -187,6 +187,7 @@ static inline int norm_qscale(int qscale, int type)
case FF_QSCALE_TYPE_MPEG2: return qscale >> 1;
case FF_QSCALE_TYPE_H264: return qscale >> 2;
case FF_QSCALE_TYPE_VP56: return (63 - qscale + 2) >> 2;
+ default: av_assert0(0);
}
return qscale;
}