]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/avf_ahistogram.c
avfilter/avf_ahistogram: assert that variables are initialized by switch()
[ffmpeg] / libavfilter / avf_ahistogram.c
index 55f7462676c40c0bca42ffa96ced38d6bd44c171..a716a96f2de2cbc96bfb22edff3d4f8a0244e7f3 100644 (file)
@@ -297,6 +297,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
                 if (aa == 1.)
                     aa = 0;
                 break;
+            default:
+                av_assert0(0);
             }
 
             h = aa * (H - 1);