[FFmpeg-devel] [PATCH] libavcodec/qsvenc.c: incorrect loop condition has been fixed.

Michael Niedermayer michaelni at gmx.at
Thu Jul 9 02:26:55 CEST 2015


On Tue, Jul 07, 2015 at 08:42:09PM +0300, Ivan Uskov wrote:
> Hello All,
> 
>  For example, the encoder may return MFX_WRN_INCOMPATIBLE_VIDEO_PARAM
>  warning i.e. ret==5 old loop implementation will repeat several times
>  until output  buffer overflow. New implementation explicitly uses
>  loop only for device busy case.
> 
> -- 
> Best regards,
>  Ivan                          mailto:ivan.uskov at nablet.com

>  qsvenc.c |    7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> da3f27e659bc908886c2361bb8f2ad57a39f5c53  0001-libavcodec-qsvenc.c-incorrect-loop-condition-has-bee.patch
> From 85bd72379184f71ae87c0975a95c635da8faa5eb Mon Sep 17 00:00:00 2001
> From: Ivan Uskov <ivan.uskov at nablet.com>
> Date: Tue, 7 Jul 2015 20:33:36 +0300
> Subject: [PATCH] libavcodec/qsvenc.c: incorrect loop condition has been fixed.
>  For example, the encoder may return MFX_WRN_INCOMPATIBLE_VIDEO_PARAM warning
>  i.e. ret==5 old loop implementation will repeat several timesuntil output
>  buffer overflow. New implementation explicitly uses loop only for device busy
>  case.

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150709/fd196d2f/attachment.sig>


More information about the ffmpeg-devel mailing list