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

FFmpeg trac at avcodec.org
Mon Jan 7 23:01:04 CET 2013


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

 * status:  new => open
 * reproduced:  0 => 1


Comment:

 Replying to [comment:3 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.

 Thank you!

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

 Good to know.

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


More information about the FFmpeg-trac mailing list