[FFmpeg-devel] [PATCH] fix infinite loop in mpegts_read_header() / pmt_cb()

Baptiste Coudurier baptiste.coudurier
Sun Apr 12 03:37:55 CEST 2009


On Fri, Feb 06, 2009 at 09:25:02PM +0100, Michael Niedermayer wrote:
> On Wed, Nov 05, 2008 at 11:31:18AM +0100, Bj?rn Axelsson wrote:
> > tor 2008-10-09 klockan 11:03 +0200 skrev Bj?rn Axelsson:
> > > (roundup errored out on me when submitting this so I'm submitting it
> > > here instead.)
> > > 
> > > The sample uploaded in incoming/bjorn/hang_read_header.h264.ts causes an
> > > infinite loop when opened. 
> > > 
> > > To reproduce: 
> > > 
> > > ./ffplay hang_read_header.h264.ts
> > > FFplay version SVN-r15589, Copyright (c) 2003-2008 Fabrice Bellard, et
> > > al.
> > >   configuration:
> > >   libavutil     49.11. 0 / 49.11. 0
> > >   libavcodec    52. 0. 0 / 52. 0. 0
> > >   libavformat   52.22. 1 / 52.22. 1
> > >   libavdevice   52. 1. 0 / 52. 1. 0
> > >   built on Oct  9 2008 10:30:18, gcc: 4.1.2 20061115 (prerelease)
> > > (Debian 4.1.1-21)
> > > 
> > > Nothing more happens, Ctrl-c doesn't work...
> > > 
> > > I have several more examples encoded and muxed with Mainconcept codecs
> > > and muxer which all have the same problem.
> > > 
> > > I have not looked for the root cause, but the attached path Works For Me
> > > (tm).
> > 
> > Ping?
> 
> Mans, ping!
> 

Correct fix applied.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA    
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list