On Thu, Sep 21, 2017 at 03:52:27PM +0200, Steve Lhomme wrote:
> ---
>  libavcodec/qsvenc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

What is "exclusive code"?

> --- a/libavcodec/qsvenc.c
> +++ b/libavcodec/qsvenc.c
> @@ -1122,7 +1122,7 @@ static int encode_frame(AVCodecContext *avctx, 
> QSVEncContext *q,
>      if (ret > 0)
>          ff_qsv_print_warning(avctx, ret, "Warning during encoding");
>  
> -    if (ret < 0) {
> +    else if (ret < 0) {
>          qsv_packet_release(&qsv_pkt);

This looks a tad confusing if you keep the empty line between the blocks.

Diego
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to