> 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
On 10/27/18, bananaman...@gmail.com wrote:
> From: bnnm
>
> Writes missing (delay) samples after EOF.
>
> Signed-off-by: bnnm
> ---
> libavcodec/wmaprodec.c | 35 ---
> 1 file changed, 32 insertions(+), 3 deletions(-)
>
> diff --git a/libavcodec/wmaprodec.c b/lib
From: bnnm
Writes missing (delay) samples after EOF.
Signed-off-by: bnnm
---
libavcodec/wmaprodec.c | 35 ---
1 file changed, 32 insertions(+), 3 deletions(-)
diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c
index 9439bfa771..d0fa974c80 100644
--- a