Make av_strerror() print an error message mentioning the error code
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 3 May 2010 21:56:21 +0000 (21:56 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 3 May 2010 21:56:21 +0000 (21:56 +0000)
commit441ea0ce91d9df7e653c7a9598a62f230cf808c0
tree43e3af316d02d84b3f0c43332679c09296cfe1d9
parent17d5959998c4f523abb4fde0dd0bb7df562219d8
Make av_strerror() print an error message mentioning the error code
number if strerror_r() did not succeed for whatever reason.

This avoids the need for the application to fill the string in case
strerror_r() fails, for example because the error code is not known.

Originally committed as revision 23015 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/error.c
libavutil/error.h