Browse Source

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 <deathsimple@vodafone.de>
tags/i965-primitive-restart-v2
Christian König 13 years ago
parent
commit
3ac959492d
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      src/gallium/auxiliary/util/u_video.h

+ 0
- 1
src/gallium/auxiliary/util/u_video.h View 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;
}
}

Loading…
Cancel
Save