Here is a *suggestion* for how to end the QuickTime palette in Matroska saga. I have created a new file 'qtpalette.c' with a function get_qtpalette(), that will be called from both matroskadec.c and mov.c. So, no more calling into another demuxer to get the palette, and no duplicated code, since it is more or less moved from mov.c to this new file. The mov_parse_stsd_video() function in mov.c is rather heavily modified as a consequence. Now, please forgive me for not splitting it up, but I hope that someone will be able to try it out in spite of this.

Mats

--
Mats Peterson
http://matsp888.no-ip.org/~mats/

Attachment: libavformat-patches.tar.gz
Description: GNU Zip compressed data

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to