video: decoder: ffmpeg: handle INVALIDDATA in try_receive_frame()
video: decoder: ffmpeg: handle INVALIDDATA in try_receive_frame()

The INVALIDDATA error can be returned by both try_send_packet() and
try_receive_frame(). In both cases we should just skip the invalid input
until the decoder can catch up with something that makes sense.

TEST=arc.VideoDecodeAccel.h264_vm unconditionally passes on Hatch

Change-Id: I4467b50c35fb36562a4b662d14071afcf02f1eb2
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3924583
Auto-Submit: Alexandre Courbot <301cd6a3ea50a894b4b51e385c5eb12b9a4ffc0c@chromium.org>
Commit-Queue: Keiichi Watanabe <815e4e8f7c92a23424d7c3f51ead622bcedbc720@chromium.org>
Reviewed-by: Tatsuyuki Ishi <9fb0affb047566c1ca29d70049b0f579b84f88dc@google.com>
Reviewed-by: Keiichi Watanabe <815e4e8f7c92a23424d7c3f51ead622bcedbc720@chromium.org>

google/crosvm,google/crosvm,google/crosvm,google/crosvm