[FFmpeg-devel] [PATCH] GSM-MS decoder and encoder
Fri Apr 25 14:09:51 CEST 2008
Baptiste Coudurier wrote:
> Michel Bardiaux wrote:
>> Baptiste Coudurier wrote:
>>> Can we please fix this ?
>>> Choose whichever solution you prefer, but this sample should play
>>> without error message :>
>> Here is a 'permissive' first patch; 13000, 13200, and 0, are accepted
> Multiple frames in a packet from stream 0
>> [Repeated many many times]
>> This is in ffmpeg.c:output_packet and seems to be due to weird pts'es
>> from input,
> No, packet contains multiple frames, like error message says.
> This illustrates another problem with libgsm decoder: data_size must be
> set to 0 before returning if nothing is output.
> Also if buf_size < avctx->block_align you should return error (-1) here
Agreed. New patch for review.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel