shithub: libvpx

Download patch

ref: d6fe868d87c52012abb62729adea3207f786d0be
parent: e62875b5a67164162be09152b6313ed92da0493e
author: Vignesh Venkatasubramanian <vigneshv@google.com>
date: Thu Apr 17 19:41:24 EDT 2014

Remove warn() call in webmdec.c

Remove call to warn() in webmdec.c so that it does not depend on
tools_common.c for compilation.

Change-Id: I2790e837985ce1d84b35f5a20c783d0e6020a9f5

--- a/webmdec.c
+++ b/webmdec.c
@@ -154,7 +154,7 @@
 
   /* Check to see if we can seek before we parse any data. */
   if (nestegg_track_seek(webm_ctx->nestegg_ctx, webm_ctx->video_track, 0)) {
-    warn("Failed to guess framerate (no Cues), set to 30fps.\n");
+    fprintf(stderr, "Failed to guess framerate (no Cues), set to 30fps.\n");
     vpx_ctx->framerate.numerator = 30;
     vpx_ctx->framerate.denominator  = 1;
     return 0;