summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ffplay.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ffplay.c b/ffplay.c
index efb5468..7e65a17 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -994,8 +994,7 @@ static void stream_close(VideoState *is)
SDL_DestroyCond(is->subpq_cond);
SDL_DestroyCond(is->continue_read_thread);
#if !CONFIG_AVFILTER
- if (is->img_convert_ctx)
- sws_freeContext(is->img_convert_ctx);
+ sws_freeContext(is->img_convert_ctx);
#endif
av_free(is);
}
OpenPOWER on IntegriCloud