Commit 5b3a8563 authored by Yaowu Xu's avatar Yaowu Xu Committed by Gerrit Code Review
Browse files

Merge "Fix a bug in vpxenc reading raw input frame"

parents 296b4be8 a7c7e78a
......@@ -61,11 +61,12 @@ int file_is_ivf(struct VpxInputContext *input_ctx) {
}
}
if (!is_ivf)
if (!is_ivf) {
rewind(input_ctx->file);
else
input_ctx->detect.buf_read = 0;
} else {
input_ctx->detect.position = 4;
}
return is_ivf;
}
......
Markdown is supported
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