[FFmpeg-devel] [rfc] merge the applehttp-urlprotocol into main
Martin Storsjö
martin
Mon Feb 28 22:27:14 CET 2011
On Mon, 28 Feb 2011, Luca Barbato wrote:
> On 02/28/2011 04:17 PM, Martin Storsj? wrote:
> > On Mon, 28 Feb 2011, Luca Barbato wrote:
> >> 0002
> >>
> >> proto_str might be truncated as is w/out having the additional var.
> >
> > We need to keep both the full and truncated version, IMO, since we don't
> > know which protocols it actually will match, and we only compare the
> > truncated version for the protocols that set the flag.
>
> I'd go with the simpler approach but might make sense being careful.
>
> btw I'm wondering how much could be recycled for the other segmented
> protocols.
Probably not much except for the highlevel structures (like control flow
and such, probably not any real code that could be shared), at least
apple's variant and the other isom-based are quite different.
The current applehttp demuxer probably has a slightly better chance of
handling the isom-based formats, but I'm not sure how much other changes
would be needed, I'm not all that familiar with the non-apple variants.
// Martin
More information about the ffmpeg-devel
mailing list