summaryrefslogtreecommitdiff
path: root/webmdec.c
diff options
context:
space:
mode:
authorVignesh Venkatasubramanian <vigneshv@google.com>2014-04-14 14:21:47 -0700
committerVignesh Venkatasubramanian <vigneshv@google.com>2014-04-14 14:21:47 -0700
commitbda2417bfb944076b7530a2649453948d672179e (patch)
tree5e0be013926b398d0377381117760404e3713892 /webmdec.c
parent096b44f43b15ff47da48b28d531411a4c831bd84 (diff)
downloadlibvpx-bda2417bfb944076b7530a2649453948d672179e.tar
libvpx-bda2417bfb944076b7530a2649453948d672179e.tar.gz
libvpx-bda2417bfb944076b7530a2649453948d672179e.tar.bz2
libvpx-bda2417bfb944076b7530a2649453948d672179e.zip
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
Diffstat (limited to 'webmdec.c')
-rw-r--r--webmdec.c3
1 files changed, 2 insertions, 1 deletions
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;