[gnome-photos/wip/rishi/buffer-decoder: 12/16] assert jpeg
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/buffer-decoder: 12/16] assert jpeg
- Date: Wed, 12 Sep 2018 11:54:15 +0000 (UTC)
commit 993927deb142fa8715b9a02b1c37c279e5fad10b
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Sep 7 07:57:58 2018 +0200
assert jpeg
src/photos-gegl-buffer-codec-jpeg.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/photos-gegl-buffer-codec-jpeg.c b/src/photos-gegl-buffer-codec-jpeg.c
index 3f8c918b..24f1ab0b 100644
--- a/src/photos-gegl-buffer-codec-jpeg.c
+++ b/src/photos-gegl-buffer-codec-jpeg.c
@@ -305,6 +305,9 @@ photos_gegl_buffer_codec_jpeg_zoom_from_mipmap (PhotosGeglBufferCodecJpeg *self)
gint buffer_width;
gint tile_row;
+ g_return_if_fail (self->buffer != self->buffer_mipmap);
+ g_return_if_fail (self->pending_zoom_from_mipmap);
+
format = gegl_buffer_get_format (self->buffer);
g_return_if_fail (format != NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]