From: Vignesh Venkatasubramanian Date: Mon, 14 Apr 2014 21:21:47 +0000 (-0700) Subject: Remove fatal() call in webmdec.c X-Git-Tag: v1.4.0~1802^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bda2417bfb944076b7530a2649453948d672179e;p=libvpx 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 --- 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;