|
@@ -3168,7 +3168,10 @@ static VideoState *stream_open(const char *filename, AVInputFormat *iformat) |
|
|
packet_queue_init(&is->subtitleq) < 0) |
|
|
packet_queue_init(&is->subtitleq) < 0) |
|
|
goto fail; |
|
|
goto fail; |
|
|
|
|
|
|
|
|
is->continue_read_thread = SDL_CreateCond(); |
|
|
|
|
|
|
|
|
if (!(is->continue_read_thread = SDL_CreateCond())) { |
|
|
|
|
|
av_log(NULL, AV_LOG_FATAL, "SDL_CreateCond(): %s\n", SDL_GetError()); |
|
|
|
|
|
goto fail; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
init_clock(&is->vidclk, &is->videoq.serial); |
|
|
init_clock(&is->vidclk, &is->videoq.serial); |
|
|
init_clock(&is->audclk, &is->audioq.serial); |
|
|
init_clock(&is->audclk, &is->audioq.serial); |
|
|