• James Zern's avatar
    get_ref_frame: check ref_frame_map value · 3caed4f8
    James Zern authored
    'ref_frame_map' is initialized to -1. avoids using an invalid index  if
    VP9_GET_REFERENCE/VP8_COPY_REFERENCE controls are issued after a decode
    error.
    
    Change-Id: I4599762c4d0b07a5943a72bf4a86ccb596cc062a
    3caed4f8
decode_api_test.cc 4.23 KB