summaryrefslogtreecommitdiff
path: root/libavfilter/vf_perspective.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-10 13:26:46 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-12-10 13:40:20 +0100
commita2fa1889a69f55ad9f1971eb8ff9c638c0470ebf (patch)
tree3f1340f0cf35a4cd4a486b1022b4f728af71dd18 /libavfilter/vf_perspective.c
parent81a045fe17d533192a9fb897cb4d71ed44c877e3 (diff)
avfilter/vf_perspective: add av_assert0() to help gcc see that there are no uninitialized variables
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_perspective.c')
-rw-r--r--libavfilter/vf_perspective.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/vf_perspective.c b/libavfilter/vf_perspective.c
index bf06d02f46..bebe37f936 100644
--- a/libavfilter/vf_perspective.c
+++ b/libavfilter/vf_perspective.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/avassert.h"
#include "libavutil/eval.h"
#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
@@ -202,6 +203,8 @@ static int config_input(AVFilterLink *inlink)
x8 = t1 * t2 * (ref[0][1] * ref[1][0] - ref[0][0] * ref[1][1]) +
t0 * t3 * (ref[2][0] * ref[3][1] - ref[2][1] * ref[3][0]);
break;
+ default:
+ av_assert0(0);
}
for (y = 0; y < h; y++){