[FFmpeg-devel] [PATCH] avformat/http: support reading compressed data
Carl Eugen Hoyos
cehoyos at ag.or.at
Mon Jul 22 18:26:05 CEST 2013
Zhang Rui <bbcallen <at> gmail.com> writes:
> Derived from VLC's http module.
Consider using git blame to find the original author(s).
> + av_log(NULL, AV_LOG_WARNING, "Your zlib was compiled ...
Please add a context here and elsewhere.
> + if (!s->inflate_buffer)
> + s->inflate_buffer = av_malloc(DECOMPRESS_BUF_SIZE);
Test for oom missing.
> + if (s->inflate_buffer)
> + av_freep(&s->inflate_buffer);
The if() is unneeded.
More information about the ffmpeg-devel