shithub: libvpx

Download patch

ref: d77b9d1ce9f560d0fff92dd22c0d024466b25148
parent: d72c847fe80a1546e4dcf863e197523904e82642
parent: bbf61e35e792900bc0018849b3c83079e614d75f
author: James Zern <jzern@google.com>
date: Thu Dec 5 15:21:16 EST 2013

Merge "Fix bug with put slice cb function."

--- a/vpx/src/vpx_decoder.c
+++ b/vpx/src/vpx_decoder.c
@@ -172,7 +172,7 @@
   if (!ctx || !cb)
     res = VPX_CODEC_INVALID_PARAM;
   else if (!ctx->iface || !ctx->priv
-           || !(ctx->iface->caps & VPX_CODEC_CAP_PUT_FRAME))
+           || !(ctx->iface->caps & VPX_CODEC_CAP_PUT_SLICE))
     res = VPX_CODEC_ERROR;
   else {
     ctx->priv->dec.put_slice_cb.u.put_slice = cb;