Detect invalid frames early in passthrough/offload
Without checking if getFramesPerEncodedSample fails, the frame count becomes negative which leads to hard to debug errors. PiperOrigin-RevId: 319247618
Showing
with
5 additions
and
1 deletions
Please
register
or
sign in
to comment