Bug#740421: libavformat54: merge HTTP parser from ffmpeg

Alessandro Ghedini ghedo at debian.org
Wed Mar 5 16:27:57 UTC 2014


Control: tags 739936 patch
Control: tags 740421 patch

As reported in #740421 libav's HTTP audio streaming is really slow on startup,
and as reported in #739936 it doesn't support ICY metadata. So I decided to see
if I could merge ffmpeg's HTTP thingy in libav... and it turns out that it was
actually rather easy.

Basically I copied libavformat/http.c from ffmpeg to libav, and fixed a bunch
of compile issues. The patch also includes the addtion of av_asprintf() and
av_strtok() since they are needed to build.

Again, I don't know what's libav policy for merging stuff from ffmpeg, but this
patch brings a pretty big improvement to libav's audio streaming support.

(also worth noting is that I only tested this patch with libav's package from
experimental).

Cheers

-- 
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04-merge-HTTP-parser-from-ffmpeg.patch
Type: text/x-diff
Size: 22313 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140305/7428ed94/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140305/7428ed94/attachment-0003.sig>


More information about the pkg-multimedia-maintainers mailing list