summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/xine.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index 18a9e8e9f..867394488 100644
--- a/src/xine-engine/xine.c
+++ b/src/xine-engine/xine.c
@@ -2009,9 +2009,13 @@ static int _x_get_current_frame_impl (xine_stream_t *stream, int *width, int *he
break;
default:
+ if (*img || alloc_img) {
xprintf (stream->xine, XINE_VERBOSITY_DEBUG,
"xine: error, snapshot function not implemented for format 0x%x\n", frame->format);
_x_abort ();
+ }
+
+ required_size = 0;
}
if (alloc_img) {