[Ffmpeg-devel] [PATCH] C93 demuxer and decoder (GSoC qualification task)

Anssi Hannula anssi.hannula
Thu Apr 5 18:19:19 CEST 2007

Anssi Hannula wrote:
> As my Google Summer of Code qualification task, attached is a patch
> which adds C93 [1] demuxer and video decoder to FFmpeg. The samples from
> samples.mplayerhq.hu can be properly played out with it.
> I'm not too familiar with FFmpeg codebase yet, though, so there could be
> some silly mistakes in the code ;). Please review it.
> [1] http://wiki.multimedia.cx/index.php?title=C93

I had some time today, so I implemented the suggestions... Attached is a
new version of the patch.

In addition to the suggested ones, I also made these changes:
- moved addition of audio streams to c93_read_packet() as some .c93
files do not have audio
- set time_base of AVStream instead of AVCodecContext's, and set
duration and start_time in AVStream, so that correct file duration is
- always allocate the AVPacket with space for palette to avoid seeking
- fix palette endianness
- some cleaning of the non-predictive modes

Anssi Hannula

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-c93_2.diff
Type: text/x-patch
Size: 19780 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070405/7d0a2a30/attachment.bin>

More information about the ffmpeg-devel mailing list