mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 15:36:26 +00:00
cellVdec: use av_error_to_string
This commit is contained in:
parent
7c65c1e3aa
commit
f42e647430
2 changed files with 4 additions and 10 deletions
|
|
@ -57,7 +57,7 @@ namespace utils
|
|||
|
||||
std::string av_error_to_string(int error)
|
||||
{
|
||||
char av_error[AV_ERROR_MAX_STRING_SIZE];
|
||||
char av_error[AV_ERROR_MAX_STRING_SIZE]{};
|
||||
av_make_error_string(av_error, AV_ERROR_MAX_STRING_SIZE, error);
|
||||
return av_error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue