[FFmpeg-devel] [PATCH 2/6] dv: use smaller type for weight tables

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Oct 25 13:34:22 CEST 2014


On Sat, Oct 25, 2014 at 11:19:21AM +0000, Christophe Gisquet wrote:
> ---
>  libavcodec/dv.c     |  4 ++--
>  libavcodec/dvdata.c | 12 ++++++------
>  libavcodec/dvdata.h | 12 ++++++------
>  3 files changed, 14 insertions(+), 14 deletions(-)

Looks good to me.
I think in all places the uint16_t will be promoted to int
automatically.
But it might be good for someone else to double-check that this
signed->unsigned change doesn't break anything, I consider C
behaviour a bit too tricky...


More information about the ffmpeg-devel mailing list