diff options
-rw-r--r-- | src/xine-engine/xine.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index fb2c08b04..e9251267b 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -1961,9 +1961,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) { |