2008/9/27 rafael2k <[EMAIL PROTECTED]>:
> Ow, it was quite easy to fix.
> Can anyone review the patch to fix cinelerra w/ the newer ffmpeg API?
> I think the fix is correct, as I got it looking at the ffmpeg svn diff.
>

What if this fix is present while an older ffmpeg api is used ?

In the vlc case (for a sample), the ffmpeg API changes are conditionalized...
This gives something like this:
---------------
#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
    p_sys->p_context->bits_per_sample = p_dec->fmt_in.audio.i_bitspersample;
#else
    p_sys->p_context->bits_per_coded_sample =
p_dec->fmt_in.audio.i_bitspersample;
#endif
---------------

Nicolas (kwizart)

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to