On 06/15/2011 12:20 PM, Anton Khirnov wrote:

>      if (audio_stream_copy) {
>          st->stream_copy = 1;
> -        audio_enc->channels = audio_channels;
> +        if (audio_channels)
> +            audio_enc->channels = audio_channels;


Should we be doing this for stream copy?  This will be overridden later
anyway to use the value from the corresponding input.  Plus at this
point I think audio_channels is only non-zero if set by the user, which
is not what we want in case of stream copy.

-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to