[FFmpeg-cvslog] r12241 - trunk/libavformat/mov.c

Reimar Döffinger Reimar.Doeffinger
Tue Feb 26 20:53:27 CET 2008


> When you're done whining, perhaps you could help think of a proper
> solution to handle situations like this.

Well, the only solution I consider proper is an external tool that
transfers the index to the "external" file so it becomes playable.
But since I guess this is not enough for you, I think the only real
option I can think of is an optional callback function to open a
given resource.
The question then would be the API. My idea would be something like:
open_cb(AVFormatContext *ctx, uint8_t *id, int id_len);
A "void *" of user data would not be bad either, though that probably
goes into AVFormatContext as a new member.
Possibly also a callback to close, though at least for this
functionality this is not necessary.

Greetings,
Reimar D?ffinger




More information about the ffmpeg-cvslog mailing list