> > Change it to what? Change to my GOAL. I also like to post a patch of ffmpeg if you like. But some redundant code in ffmpeg make it difficult to read. Great changes should be made, I think. For example, the structure of MpegEncContext is too ugly. -- Best Regards zhihang wang www.ffavs.net