| 46 | //----- |
| 47 | |
| 48 | static char *avGetErrorString(int errnum) |
| 49 | { |
| 50 | char *errbuf = (char *)malloc(AV_ERROR_MAX_STRING_SIZE); |
| 51 | av_strerror(errnum, errbuf, AV_ERROR_MAX_STRING_SIZE); |
| 52 | return errbuf; |
| 53 | } |
| 54 | |
| 55 | // RAII wrapper around smileMutex to do initialization/cleanup when used as static variable |
| 56 | struct sSmileMutexWrapper { |
no outgoing calls
no test coverage detected