hevc: update and use avpriv