shithub: libvpx

Download patch

ref: bda2417bfb944076b7530a2649453948d672179e
parent: 096b44f43b15ff47da48b28d531411a4c831bd84
author: Vignesh Venkatasubramanian <vigneshv@google.com>
date: Mon Apr 14 10:21:47 EDT 2014

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

--- a/webmdec.c
+++ b/webmdec.c
@@ -86,7 +86,8 @@
   } 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;
--