dec_avcodec: error case handled without warning