shithub: libvpx

Download patch

ref: 5b3a8563deb9341300354dced690ba4e390ee590
parent: 296b4be85966e199c4cf36ce94909a2371caaeab
parent: a7c7e78aa5715a6fada6595b510deb20447b6d5d
author: Yaowu Xu <yaowu@google.com>
date: Tue Nov 19 06:26:02 EST 2013

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

--- a/ivfdec.c
+++ b/ivfdec.c
@@ -61,11 +61,12 @@
     }
   }
 
-  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;
 }