vp9_dx_iface: Stop using iter parameter incorrectly
authorVignesh Venkatasubramanian <vigneshv@google.com>
Mon, 25 Sep 2017 23:56:04 +0000 (16:56 -0700)
committerVignesh Venkatasubramanian <vigneshv@google.com>
Wed, 27 Sep 2017 16:59:39 +0000 (09:59 -0700)
commit530e60143a60b77ab749003bf991a58f083752a3
tree76ea4503fe1a6e2e0cba65c6d2a0a11965d91ccd
parenta059dc09861d8299b6736f06825146b7009ad520
vp9_dx_iface: Stop using iter parameter incorrectly

'iter' parameter is being checked for NULL in every call to
decoder_get_frame which is quite pointless because it is always
going to be NULL unless the application changed it. The code works
as described only because vp9_get_raw_frame returns -1 on all
subsequent calls after the first.

Change-Id: Ic736b9e8fe36fc1430fc11d6a9b292be02497248
vp9/vp9_dx_iface.c