[FFmpeg-devel] [PATCH] avcodec/golomb: simplify sign conversion

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Feb 14 09:43:01 CET 2015

On 13.02.2015, at 17:58, "zhaoxiu.zeng" <zhaoxiu.zeng at gmail.com> wrote:
> From 7d782e106cf485ca9a44d4283a18402bf0a84fb9 Mon Sep 17 00:00:00 2001
> From: Zeng Zhaoxiu <zhaoxiu.zeng at gmail.com>
> Date: Sat, 14 Feb 2015 00:44:39 +0800
> Subject: [PATCH] avcodec/golomb: simplify sign conversion

This may be faster, but IMHO the term "simplify" is completely wrong.
Also in most cases the sign variable should be initialized right at its declaration instead of splitting it into 2 lines.

More information about the ffmpeg-devel mailing list