[Ffmpeg-devel] [PATCH] fix EINVAL TO EUNKNOWN

Benoit Fouet benoit.fouet
Mon Mar 5 09:10:11 CET 2007


Hi,

Limin Wang wrote:
> Hi,
>
> Any reason to convert unknown error to invalid error code? Or
> it's typo only.
>
FWIW this error code (EUNKNOWN) doesn't exist on my machine...
$ grep -R EUNKNOWN /usr/include/
/usr/include/nspr/plresolv.h:#define PL_RESOLVE_EUNKNOWN     
7           /* berserk error */
/usr/include/wx/stc/stc.h:#define wxSTC_H_ATTRIBUTEUNKNOWN 4
/usr/include/wine/windows/urlmon.idl:       
BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10
/usr/include/wine/windows/urlmon.h:    BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10
/usr/include/wx-2.6/wx/stc/stc.h:#define wxSTC_H_ATTRIBUTEUNKNOWN 4

this could be a reason if the error code doesn't exist on every machine

Ben





More information about the ffmpeg-devel mailing list