[FFmpeg-devel] [Patch] MMSH handle get_chunk_header error in get_http_header_data
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1248 bytes
More information about the ffmpeg-devel