[Ffmpeg-devel] [PATCH] MP3 decoding from RTP stream. Getting "invalid new backstep"

Martin marthi
Mon Nov 6 18:25:03 CET 2006


Hi Guillaume

Guillaume POIRIER wrote:
> Hi,
> 
> On 11/6/06, Michael Niedermayer <michaelni at gmx.at> wrote:
> 
>> Hi
>> On Mon, Nov 06, 2006 at 05:44:07PM +0100, Martin wrote:
>> > Hi
>> >
>> > Michael Niedermayer wrote:
> 
> 
> [..]
> 
>> > > the whole above should be replaced by a if (discard_frame) \n
>> memset(..., 0, ...)
>> > > as already said
>> > >
>> > > [...]
>> >
>> > Ok, I didn't see that. Obviously its much better that way... :)
>> > Attached the updated patch. Hope everything is finally ok now... ;)
>>
>> looks ok
>>
>> whoever applies this should test it with a damaged mp3 though
> 
> 
> I don't have one on hand. Martin, please provide the damaged mp3 that
> your patch is supposed to improve support for.
> 
> Guillaume

I only realized the distorted sound while encoding MP3, streaming it via
RTP using the liblive and decoding it again. If the sender starts before
the receiver these backsteps occur. I'm sorry, I don't have a damaged
file which shows these errors.

Martin




More information about the ffmpeg-devel mailing list