[FFmpeg-cvslog] avfilter/vf_uspp: assert that the qp_type is valid
Michael Niedermayer
git at videolan.org
Sat Dec 13 12:00:51 CET 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Dec 13 05:30:39 2014 +0100| [b898c49ba1b60e77780f5b28d6200f984c27dc98] | committer: Michael Niedermayer
avfilter/vf_uspp: assert that the qp_type is valid
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b898c49ba1b60e77780f5b28d6200f984c27dc98
---
libavfilter/vf_uspp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/vf_uspp.c b/libavfilter/vf_uspp.c
index d0ce63e..7526fde 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;
}
More information about the ffmpeg-cvslog
mailing list