[FFmpeg-devel] AAC/RTP crash

Ronald S. Bultje rsbultje
Thu Jan 15 15:18:21 CET 2009


Hi,

With the built-in decoder instead of faad, RTP streams containing AAC
data can crash ffplay. Example below:

$ ./ffplay rtsp://video.medinfo.ufl.edu/opeta/MS_all.mov

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x000000e5
[Switching to process 28864 thread 0x7eab]
0x001467e3 in aac_decode_frame (avccontext=???, data=???,
data_size=???, buf=???, buf_size=???) at libavcodec/aac.c:1493
1493                    if(che->ch[0].tns.present)

I'm affraid I don't get a backtrace or any useful debugging data
(which is a completely different issue that I should at some point ask
questions about :-) ), but maybe one of the AAC decoder devs can
reproduce this and look at it? This used to work fine with the faad
decoder, and the RTP/AAC payload parser didn't change since then.

r16375:
  configuration: --enable-gpl --enable-swscale
  libavutil     49.12. 0 / 49.12. 0
  libavcodec    52. 9. 0 / 52. 9. 0
  libavformat   52.23. 1 / 52.23. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  built on Dec 28 2008 15:10:54, gcc: 4.0.1 (Apple Computer, Inc. build 5367)

Thanks,
Ronald




More information about the ffmpeg-devel mailing list