Skip to content

Commit

Permalink
libavcenc: return partially encoded buffer for application
Browse files Browse the repository at this point in the history
As bitstream overflow errors are not marked as fatal errors and
these recons are being used for reference, its best to return
the partial encoded buffers for application

Change-Id: I30a8e9907cf42d3bc883ee78b28cbae723bad7ac
  • Loading branch information
ram-mohan committed Sep 27, 2023
1 parent 6056737 commit ff394df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encoder/ih264e_error.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
{\
out_status = ((1 << severity) | error);\
ps_codec->i4_error_code = out_status;\
return (ret_code);\
if (severity == IVE_FATALERROR) return (ret_code);\
}


Expand Down

0 comments on commit ff394df

Please sign in to comment.