cellVdec: use av_error_to_string

This commit is contained in:
Megamouse 2022-04-21 09:32:28 +02:00
parent 7c65c1e3aa
commit f42e647430
2 changed files with 4 additions and 10 deletions

View file

@ -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;
}