[FFmpeg-devel] [PATCH] fix the SAMPLE_FMT_NONE case in ffmdec.c

Ronald S. Bultje rsbultje
Wed Mar 17 15:14:49 CET 2010


Hi,

2010/3/16 M?ns Rullg?rd <mans at mansr.com>:
> My mistake. ?I forgot the exact-width types are special. ?My original
> statement is still correct though: conversion to a signed type of a
> value outside the range of that type is implementation-defined, even
> for fixed-width types.

So what is the consensus? int16_t cast or sign_extend()? I want to
apply this patch, this is a bug that should be fixed.

Ronald



More information about the ffmpeg-devel mailing list