From 3ac959492d27a8473256bb7a25135f44b5d1a0f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20K=C3=B6nig?= Date: Wed, 1 Feb 2012 12:37:44 +0100 Subject: [PATCH] vl: remove assert on unknown video profile MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It's perfectly valid to ask for an unknown profile and get unknown code as a result. Signed-off-by: Christian König --- src/gallium/auxiliary/util/u_video.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/auxiliary/util/u_video.h b/src/gallium/auxiliary/util/u_video.h index be3fac2d010..e575947d4e3 100644 --- a/src/gallium/auxiliary/util/u_video.h +++ b/src/gallium/auxiliary/util/u_video.h @@ -64,7 +64,6 @@ u_reduce_video_profile(enum pipe_video_profile profile) return PIPE_VIDEO_CODEC_MPEG4_AVC; default: - assert(0); return PIPE_VIDEO_CODEC_UNKNOWN; } } -- 2.30.2