[FFmpeg-devel] [PATCH] adding xavs encoding support

Stefan Gehrer stefan.gehrer
Wed Jul 21 19:59:10 CEST 2010

On 07/21/2010 10:14 AM, jianwen chen wrote:

>    I have modified all the problems you mentioned, the patch is attached.
>   Please review and check.

When was the last time you checked the patch yourself?
libavcodec/libxavs.c in your patch calls a function
xavs_param_default(), which was removed from xavs.h with revision 20.
According to


this was six months ago.

Re-adding the line

void xavs_param_default( xavs_param_t * );

to xavs.h fixes this.
If I do this manually I can compile, but when I try to encode I get
segmentation faults in xavs_encoder_encode() without a usable
backtrace. Command line I used:

ffmpeg -s cif -i foreman.yuv -vcodec libxavs out.avi

Could you please check?


More information about the ffmpeg-devel mailing list