Le quartidi 24 brumaire, an CCXXIII, Michael Niedermayer a écrit : > libavformat OTOH could read the IFO file with avio_open2/avio_read > into extradata or some newly added ifo specific side data > and dvdsubdec.c could then parse the palette out of that.
That would work. It can be even reasonably simple: dvdsubdec already accepts extradata with the Vobsub IDX syntax (the same way it is stored as codec private data in Matroska). Unless I am mistaken, it would suffice to use a BPrint buffer to write "palette: XXXXXX,XXXXXX..." and use avpriv_bprint_to_extradata() afterwards. OTOH, if Shin-ichi is not motivated to change the patch once again, I believe the version with fopen() is acceptable if marked experimental / temporary in the docs. Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel