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
This commit is contained in:
parent
e62875b5a6
commit
d6fe868d87
@ -154,7 +154,7 @@ int webm_guess_framerate(struct WebmInputContext *webm_ctx,
|
|||||||
|
|
||||||
/* Check to see if we can seek before we parse any data. */
|
/* 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)) {
|
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.numerator = 30;
|
||||||
vpx_ctx->framerate.denominator = 1;
|
vpx_ctx->framerate.denominator = 1;
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user