• Yaowu Xu's avatar
    Correctly report "Unsupported bitstream profile" · 7c0c62df
    Yaowu Xu authored
    For vp9 decoder build without profile 2 and profile 3 support, this
    commit changes to report error "Unsupported bitstream profile" for
    input streams in profile 2 or 3, rather than other misleading error
    information.
    
    In addition, one of the invalid files in unit tests is actually coded
    profile 2, this commit makes it tested only when the decoder is built
    with vp9-highbitdepth.
    
    This fixes issue #1028.
    
    Change-Id: I8b6c1210787c8f89c703a546687dcf973ac20fc0
    7c0c62df
decode_api_test.cc 4.94 KB