Commit 2d5c7f67 authored by John Koleszar's avatar John Koleszar Committed by Gerrit Code Review
Browse files

Merge "vpxdec updated to use !feof() instead of *buf_sz in readframe()"

parents 6505adf2 9b850793
......@@ -303,7 +303,7 @@ static int read_frame(struct input_ctx *input,
*buf_sz = new_buf_sz;
if (*buf_sz)
if (!feof(infile))
{
if (fread(*buf, 1, *buf_sz, infile) != *buf_sz)
{
......
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