Commit 09969ac9 authored by Vignesh Venkatasubramanian's avatar Vignesh Venkatasubramanian
Browse files

webmdec: Handle codec id being NULL.

WebM files could have CodecId missing in the track headers. Treat those files as
unknown input file type in vpxdec.

Fixes issue #1064.

Change-Id: I6c3bb7b4bd3a4f5c244312482a5996f8b68db3f3
parent 2ff108aa
......@@ -94,7 +94,7 @@ int file_is_webm(struct WebmInputContext *webm_ctx,
if (video_track == NULL) {
if (video_track == NULL || video_track->GetCodecId() == NULL) {
rewind_and_reset(webm_ctx, vpx_ctx);
return 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment