[FFmpeg-devel] Fix FFM-based audio streaming from FFmpeg to FFserver

Ronald S. Bultje rsbultje
Mon Mar 29 03:55:13 CEST 2010


Hi,

On Thu, Mar 25, 2010 at 6:28 PM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
> On Tue, Mar 16, 2010 at 6:02 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
>> a clone function is usefull, yet another local hack for a special case
>> is unmaintainable. It will break in no time, especially without regression
>> tests. And with reg tests i know i will curse the continous need to
>> fix it after every second addition to AVCodecContext.
>> Sorry but i think any design for which a addition to AVCodecContext in
>> avcodec.h requires one to go over the source and to update all the local
>> hacks that copy it (for rt*p, for ffserver, ...) is not practical
>
> OK, so attached adds a primitive copying function that appears to work
> and I think is correct for most pointer-related resources in
> AVCodecContext.

Ping. Should I send a patch for the avcodec_copy_context() function
separately to make this easier to review?

Ronald



More information about the ffmpeg-devel mailing list