Merge remote branch 'internal/upstream' into HEAD
This commit is contained in:
commit
5327ea0698
9
vpxdec.c
9
vpxdec.c
@ -542,6 +542,7 @@ webm_guess_framerate(struct input_ctx *input,
|
|||||||
*fps_den = tstamp / 1000;
|
*fps_den = tstamp / 1000;
|
||||||
return 0;
|
return 0;
|
||||||
fail:
|
fail:
|
||||||
|
nestegg_destroy(input->nestegg_ctx);
|
||||||
input->nestegg_ctx = NULL;
|
input->nestegg_ctx = NULL;
|
||||||
rewind(input->infile);
|
rewind(input->infile);
|
||||||
return 1;
|
return 1;
|
||||||
@ -878,7 +879,13 @@ int main(int argc, const char **argv_)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(input.kind == WEBM_FILE)
|
if(input.kind == WEBM_FILE)
|
||||||
webm_guess_framerate(&input, &fps_den, &fps_num);
|
if(webm_guess_framerate(&input, &fps_den, &fps_num))
|
||||||
|
{
|
||||||
|
fprintf(stderr, "Failed to guess framerate -- error parsing "
|
||||||
|
"webm file?\n");
|
||||||
|
return EXIT_FAILURE;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*Note: We can't output an aspect ratio here because IVF doesn't
|
/*Note: We can't output an aspect ratio here because IVF doesn't
|
||||||
store one, and neither does VP8.
|
store one, and neither does VP8.
|
||||||
|
Loading…
Reference in New Issue
Block a user