[FFmpeg-devel] [Patch] MMSH handle get_chunk_header error in get_http_header_data
Stephen D'Angelo
SDAngelo
Fri Sep 17 22:02:21 CEST 2010
Currently, if get_chunk_header returns an error (i.e. a negative number)
it is not caught in get_http_header_data because it is cast to a
ChunkType enum and then checked if it is < 0 (which it won't be because
the enum is an unsigned int). This is a small patch to store and check
the result as an int, and if it's >= 0 cast it to a ChunkType.
- Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmsh_get_chunk_header_return.patch
Type: application/octet-stream
Size: 1248 bytes
Desc: mmsh_get_chunk_header_return.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100917/8c8fe8b1/attachment.obj>
More information about the ffmpeg-devel
mailing list