aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-02-01 12:37:44 +0100
committerChristian König <[email protected]>2012-02-06 10:35:59 +0100
commit3ac959492d27a8473256bb7a25135f44b5d1a0f4 (patch)
treecea44f93f760eda125467cd449c30d057e0941cc
parent14f47d164d198e6aabce7348d9574c8253134708 (diff)
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 <[email protected]>
-rw-r--r--src/gallium/auxiliary/util/u_video.h1
1 files changed, 0 insertions, 1 deletions
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;
}
}