diff options
author | Matthias Kretz <kretz@kde.org> | 2007-12-14 20:00:52 +0100 |
---|---|---|
committer | Matthias Kretz <kretz@kde.org> | 2007-12-14 20:00:52 +0100 |
commit | 04b9c745d4e4c379724df14a422e35ad81c7bce6 (patch) | |
tree | 714bfbf4daf599195da5454a1c238879122c1480 /src | |
parent | 9cda41d51a50a319676d24ba85dc5f39747ba356 (diff) | |
download | xine-lib-04b9c745d4e4c379724df14a422e35ad81c7bce6.tar.gz xine-lib-04b9c745d4e4c379724df14a422e35ad81c7bce6.tar.bz2 |
Fixed a crash that happened when a video output was closed
img->stream->video_fifo can be 0
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/video_out.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index b961c6060..a5fd544d0 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.c @@ -950,6 +950,7 @@ static vo_frame_t *get_next_frame (vos_t *this, int64_t cur_vpts, if (!img->stream || _x_stream_info_get(img->stream, XINE_STREAM_INFO_VIDEO_HAS_STILL) || + !img->stream->video_fifo || img->stream->video_fifo->size(img->stream->video_fifo) < 10) { lprintf ("possible still frame\n"); |