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

Björn Axelsson bjorn.axelsson
Thu Oct 9 11:03:16 CEST 2008


(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).

-- 
Bj?rn Axelsson                    Phone: +46-(0)90-349 39 02
Intinor AB                          Fax: +46-(0)90-349 39 04
www.intinor.se
Interactive Television & Digital Media Distribution
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hang_read_header.h264.ts.patch
Type: text/x-patch
Size: 439 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081009/172c8ffd/attachment.bin>



More information about the ffmpeg-devel mailing list