> You can set final number of samples in output frame directly:
> frame->nb_samples = X.

I was told I shouldn't do that (even though other codecs do it?). I quote:
>> No, this is wrong. Codecs don't need to do this manually, this is done by
>> libavcodec/decode.c, based on the packet's AV_PKT_DATA_SKIP_SAMPLES side
data.

I think it would also have problems with xma_decode_packet since it only
works with 512 nb_samples.

So I hope this can patch accepted as-is and then it can be refined in later
patches.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to