[FFmpeg-devel] [PATCH] avformat/http: add string of the error when only return error number

Nicolas George george at nsup.org
Mon Jul 1 12:45:52 EEST 2019


Liu Steven (12019-07-01):
> For example:
>     When i debug the code: it give me message:
> 
>     [http @ 0x7ff64540c200] URL read error:  -541478725
>     after patch:
>     [http @ 0x7ff64540c200] URL read error:  End of file
> 
> I think the message after patch is easier to understand :D

I do not understand what you are saying now. With your patch, I think
the message would appear:
	
[http @ 0x7ff64540c200] URL read error:  (-541478725)End of file

And I do not think the -541478725 brings any good.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190701/c67f029c/attachment.sig>


More information about the ffmpeg-devel mailing list