Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/gstreamer-encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/gstreamer-encoder.c b/server/gstreamer-encoder.c index cdd9696..7376d2b 100644 --- a/server/gstreamer-encoder.c +++ b/server/gstreamer-encoder.c @@ -1688,7 +1688,7 @@ VideoEncoder *gstreamer_encoder_new(SpiceVideoCodecType codec_type, bitmap_ref_t bitmap_ref, bitmap_unref_t bitmap_unref) { - spice_return_val_if_fail(SPICE_GST_FRAME_STATISTICS_COUNT <= SPICE_GST_HISTORY_SIZE, NULL); + verify(SPICE_GST_FRAME_STATISTICS_COUNT <= SPICE_GST_HISTORY_SIZE); spice_return_val_if_fail(codec_type == SPICE_VIDEO_CODEC_TYPE_MJPEG || codec_type == SPICE_VIDEO_CODEC_TYPE_VP8 || codec_type == SPICE_VIDEO_CODEC_TYPE_H264, NULL); -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel