[FFmpeg-devel] Google Summer of Code participation
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 &
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 13750 bytes
Desc: not available
More information about the ffmpeg-devel