[FFmpeg-devel] Google Summer of Code participation

Thilo Borgmann thilo.borgmann
Wed Apr 1 22:13:12 CEST 2009


Ok here is a patch which shows my proposals. Remark: This is not meant 
to be applied, just reviewed... so no need to point at the wrong indents 
at some places and such....

I forgot to mention that there are three little workarounds in 
libavcodec/avcodec.h and libavutils/utils.c. They do also call the 
decoding function and have to do this using the new AVPacket version. 
Therefore a dummy AVPacket is created, .data and .size set and the 
AVPacket is then passed to the decoder.
Finally, these functions have to be updated up to the application layer 
(ffplay.c, ffmpeg.c) as the avcodec_decode_video() function had to.

As I said, this already works for the two altered decoders (pngdec.c & 
pcm.c).

Well I've also thought about the struct-expansion-Null-checking idea... 
ehm... let's make it right from the beginning. If my qualification 
fails, there will be at least some benefit for FFmpeg. If no one 
volunteers, I will alter the codecs.

TB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tb.01.patch
Type: text/x-patch
Size: 13750 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090401/10e806e0/attachment.bin>



More information about the ffmpeg-devel mailing list