[FFmpeg-devel] [PATCH 2/2] wmalosslessdec: reset frame->nb_samples on packet loss

Michael Niedermayer michaelni at gmx.at
Sat Jul 4 02:04:48 CEST 2015


On Fri, Jul 03, 2015 at 12:07:10AM +0200, Andreas Cadhalpun wrote:
> Otherwise a frame with non-zero nb_samples but without any data can be
> returned.
> 
> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> ---
>  libavcodec/wmalosslessdec.c | 1 +
>  1 file changed, 1 insertion(+)

i think this is ok, it fits with how the code seems to work

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150704/1060bf64/attachment.asc>


More information about the ffmpeg-devel mailing list