From: Christian König Date: Wed, 1 Feb 2012 11:37:44 +0000 (+0100) Subject: vl: remove assert on unknown video profile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ac959492d27a8473256bb7a25135f44b5d1a0f4;p=mesa.git vl: remove assert on unknown video profile It's perfectly valid to ask for an unknown profile and get unknown code as a result. Signed-off-by: Christian König --- 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; } }