[FFmpeg-devel] [PATCH] avcodec/adpcm: squelch 'mismatch in coded sample count' warning for AV_CODEC_ID_ADPCM_EA_R2/3

Michael Niedermayer michaelni at gmx.at
Fri Mar 14 17:27:16 CET 2014


On Fri, Mar 14, 2014 at 10:21:35AM +0100, Paul B Mahol wrote:
> On 3/14/14, Peter Ross <pross at xvid.org> wrote:
> > These ADPCM codecs include a per-frame flag that enables a raw 16-bit mode.
> > Therefore
> > the the number of samples returned by get_nb_samples() is only ever
> > approximate.
> >
> > Fixes ticket #3460.
> >
> > Signed-off-by: Peter Ross <pross at xvid.org>
> > ---
> >  libavcodec/adpcm.c | 13 +++++++++----
> >  1 file changed, 9 insertions(+), 4 deletions(-)
> >
> 
> lgtm

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140314/9bd28dcd/attachment.asc>


More information about the ffmpeg-devel mailing list