]> granicus.if.org Git - libvpx/commit
Make the api behavior conform to api spec.
authorHangyu Kuang <hkuang@google.com>
Fri, 1 Aug 2014 02:04:35 +0000 (19:04 -0700)
committerHangyu Kuang <hkuang@google.com>
Wed, 6 Aug 2014 18:16:14 +0000 (11:16 -0700)
commit7050074756c0642ab2742a2a5db85d9ac5f4e5e0
tree4d82e436ca0379f48c3e081692f19631982775b1
parentf94227c81d7278ddf9634bb91ee2d2e7cfe610e3
Make the api behavior conform to api spec.

When no more data is available, vpx_codec_decode should
be called with NULL as data and 0 as data_sz.

vpx_codec_get_frame iterates over a list of the frames
available for display. The iterator storage should be initialized
to NULL to start the iteration. Iteration is complete when this
function returns NULL.

Also change the unit test to conform to the api spec.

Change-Id: I4b258b309f5df3d37d10c82f01492c0394181c2a
test/decode_test_driver.cc
vp8/vp8_dx_iface.c
vp9/vp9_dx_iface.c