[FFmpeg-trac] #1917(avcodec:new): Crash with -acodec libfdk_aac -f latm

FFmpeg trac at avcodec.org
Mon Jan 7 20:16:07 CET 2013


#1917: Crash with -acodec libfdk_aac -f latm
-------------------------------------+-------------------------------------
             Reporter:  cehoyos      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  libfdk-aac   |               Blocked By:
  crash SIGSEGV                      |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by jamal):

 Replying to [comment:2 cehoyos]:
 > I am not sure I understand: Can you reproduce the crash?

 Yes, with "ffmpeg -i fate-suite/svq3/Vertical400kbit.sorenson3.mov -latm 1
 out.latm" it crashes for me with the same gdb you posted above.

 But with "ffmpeg -i fate-suite/svq3/Vertical400kbit.sorenson3.mov -flags
 global_header -latm 1 out.latm" or even "ffmpeg -i fate-
 suite/svq3/Vertical400kbit.sorenson3.mov -flags global_header out.latm" it
 doesn't, and it succeeds in creating a seemingly working file.

 As i said, the LATM muxer always expects extradata inside the
 AVCodecContext, but the libfdk-aac encoder only sends such extradata if
 the global_header flag is enabled.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1917#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list