summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe/p_video_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/include/pipe/p_video_state.h')
-rw-r--r--src/gallium/include/pipe/p_video_state.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h
index a0128fbd48..b71e959e6f 100644
--- a/src/gallium/include/pipe/p_video_state.h
+++ b/src/gallium/include/pipe/p_video_state.h
@@ -63,10 +63,9 @@ u_reduce_video_profile(enum pipe_video_profile profile)
return PIPE_VIDEO_CODEC_MPEG4_AVC;
default:
- assert(false);
+ assert(0);
+ return PIPE_VIDEO_CODEC_UNKNOWN;
}
-
- return -1;
}
enum pipe_mpeg12_picture_type