It's perfectly valid to ask for an unknown profile and get unknown code as a result. Signed-off-by: Christian König <deathsimple@vodafone.de>tags/i965-primitive-restart-v2
@@ -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; | |||
} | |||
} |