From bda2417bfb944076b7530a2649453948d672179e Mon Sep 17 00:00:00 2001 From: Vignesh Venkatasubramanian Date: Mon, 14 Apr 2014 14:21:47 -0700 Subject: Remove fatal() call in webmdec.c Remove call to fatal() in webmdec.c so that it does not depend on tools_common.c for compilation. Change-Id: I3eec483afe6fae72436993c72b26d61d14a7f2bf --- webmdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'webmdec.c') diff --git a/webmdec.c b/webmdec.c index 7cacdf922..a8e220c4a 100644 --- a/webmdec.c +++ b/webmdec.c @@ -86,7 +86,8 @@ int file_is_webm(struct WebmInputContext *webm_ctx, } else if (codec_id == NESTEGG_CODEC_VP9) { vpx_ctx->fourcc = VP9_FOURCC; } else { - fatal("Not VPx video, quitting.\n"); + fprintf(stderr, "Not VPx video, quitting.\n"); + goto fail; } webm_ctx->video_track = i; -- cgit v1.2.3