vl: remove assert on unknown video profile
authorChristian König <deathsimple@vodafone.de>
Wed, 1 Feb 2012 11:37:44 +0000 (12:37 +0100)
committerChristian König <deathsimple@vodafone.de>
Mon, 6 Feb 2012 09:35:59 +0000 (10:35 +0100)
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>
src/gallium/auxiliary/util/u_video.h

index be3fac2d010a01bbc03e4a3c9387655dcc2d5de3..e575947d4e365d0145b8775fa460a48a765fffcd 100644 (file)
@@ -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;
    }
 }