[FFmpeg-trac] #8150(undetermined:new): memory leaks from mem.c

FFmpeg trac at avcodec.org
Sun Sep 15 13:54:19 EEST 2019


#8150: memory leaks from mem.c
-------------------------------------+-------------------------------------
             Reporter:  Suhwan       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 There are a memory leakage (17,802 (24 direct, 17,778 indirect) bytes in 1
 blocks are definitely lost) and a null pointer passed as argument 2, which
 is declared to never be null in libavutil/encryption_info.c:334:28

 How to reproduce:
 {{{
 % ./ffmpeg_g -y -r 95 -i gizmo-frag-2.mp4 -map 0 -c copy -c: a:75 dnxhd
 -c: v:3 pcm_s24le -disposition: s:12 h261 -aframes 110 -ac 6 -strict 3
 output/tmp.mpc8

 ffmpeg version N-94887-ge55018ee11 (git master)
 built on ... ubuntu 18.04 with clang-6 and ASAN and UBSAN option.
 }}}

 Here's Valgrind log.
 {{{
 ==31695== Memcheck, a memory error detector
 ==31695== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
 ==31695== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright
 info
 ==31695== Command: ../ffmpeg/ffmpeg_g -y -r 95 -i samples/mp4/gizmo-
 frag-2.mp4 -map 0 -c copy -c: a:75 dnxhd -c: v:3 pcm_s24le -disposition:
 s:12 h261 -aframes 110 -ac 6 -strict 3 output/tmp.mpc8
 ==31695==
 ffmpeg version N-94906-gcb8d6a4e3e Copyright (c) 2000-2019 the FFmpeg
 developers
   built with clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
   configuration: --cc=clang --cxx=clang++ --ld=clang --enable-debug
 --toolchain=clang-usan
   libavutil      56. 35.100 / 56. 35.100
   libavcodec     58. 56.101 / 58. 56.101
   libavformat    58. 32.104 / 58. 32.104
   libavdevice    58.  9.100 / 58.  9.100
   libavfilter     7. 58.102 /  7. 58.102
   libswscale      5.  6.100 /  5.  6.100
   libswresample   3.  6.100 /  3.  6.100
 libavutil/encryption_info.c:334:28: runtime error: null pointer passed as
 argument 2, which is declared to never be null
 /usr/include/string.h:43:28: note: nonnull attribute specified here
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x1644901: mov_read_packet (mov.c:7743)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x19CC748: append_packet_chunked (utils.c:282)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x1C4462D: av_grow_packet (avpacket.c:113)
 ==31695==    by 0x19CC799: append_packet_chunked (utils.c:289)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x1C4464E: av_grow_packet (avpacket.c:117)
 ==31695==    by 0x19CC799: append_packet_chunked (utils.c:289)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x1C44659: av_grow_packet (avpacket.c:117)
 ==31695==    by 0x19CC799: append_packet_chunked (utils.c:289)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x59BD87E: av_malloc (mem.c:82)
 ==31695==    by 0x595EA8E: av_buffer_alloc (buffer.c:72)
 ==31695==    by 0x1C448EC: av_grow_packet (avpacket.c:139)
 ==31695==    by 0x19CC799: append_packet_chunked (utils.c:289)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x59BD88A: av_malloc (mem.c:86)
 ==31695==    by 0x595EA8E: av_buffer_alloc (buffer.c:72)
 ==31695==    by 0x1C448EC: av_grow_packet (avpacket.c:139)
 ==31695==    by 0x19CC799: append_packet_chunked (utils.c:289)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x9E5EDEF: memalign (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==31695==    by 0x9E5EF91: posix_memalign (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==31695==    by 0x59BD89D: av_malloc (mem.c:87)
 ==31695==    by 0x595EA8E: av_buffer_alloc (buffer.c:72)
 ==31695==    by 0x1C448EC: av_grow_packet (avpacket.c:139)
 ==31695==    by 0x19CC799: append_packet_chunked (utils.c:289)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x1C44C3B: av_grow_packet (avpacket.c:146)
 ==31695==    by 0x19CC799: append_packet_chunked (utils.c:289)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x1C44C85: av_grow_packet (avpacket.c:147)
 ==31695==    by 0x19CC799: append_packet_chunked (utils.c:289)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x1C44C89: av_grow_packet (avpacket.c:147)
 ==31695==    by 0x19CC799: append_packet_chunked (utils.c:289)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x1C44C8E: av_grow_packet (avpacket.c:147)
 ==31695==    by 0x19CC799: append_packet_chunked (utils.c:289)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Use of uninitialised value of size 8
 ==31695==    at 0x1C44C93: av_grow_packet (avpacket.c:147)
 ==31695==    by 0x19CC799: append_packet_chunked (utils.c:289)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x143A42D: avio_read (aviobuf.c:655)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x143AAA2: avio_read (aviobuf.c:656)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x143AD0A: avio_read (aviobuf.c:658)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x143AD70: avio_read (aviobuf.c:655)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x143AAAA: avio_read (aviobuf.c:657)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x9E636E6: memmove (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==31695==    by 0x143AB15: avio_read (aviobuf.c:686)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x9E63831: memmove (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==31695==    by 0x143AB15: avio_read (aviobuf.c:686)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x9E63711: memmove (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==31695==    by 0x143AB15: avio_read (aviobuf.c:686)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x9E637EE: memmove (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==31695==    by 0x143AB15: avio_read (aviobuf.c:686)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x9E63806: memmove (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==31695==    by 0x143AB15: avio_read (aviobuf.c:686)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x9E6372F: memmove (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==31695==    by 0x143AB15: avio_read (aviobuf.c:686)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Use of uninitialised value of size 8
 ==31695==    at 0x9E63750: memmove (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==31695==    by 0x143AB15: avio_read (aviobuf.c:686)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Use of uninitialised value of size 8
 ==31695==    at 0x9E63753: memmove (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==31695==    by 0x143AB15: avio_read (aviobuf.c:686)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x9E6375F: memmove (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==31695==    by 0x143AB15: avio_read (aviobuf.c:686)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x9E63774: memmove (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==31695==    by 0x143AB15: avio_read (aviobuf.c:686)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x143AB32: avio_read (aviobuf.c:687)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x143AB3B: avio_read (aviobuf.c:687)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x143AB73: avio_read (aviobuf.c:688)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x143AB7E: avio_read (aviobuf.c:688)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x143AB96: avio_read (aviobuf.c:689)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x143ABA4: avio_read (aviobuf.c:655)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x143AD7D: avio_read (aviobuf.c:692)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x143AEA1: avio_read (aviobuf.c:696)
 ==31695==    by 0x19CC7E3: append_packet_chunked (utils.c:293)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x19CC7E6: append_packet_chunked (utils.c:294)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x19CC7F6: append_packet_chunked (utils.c:299)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x19CC802: append_packet_chunked (utils.c:0)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x19CC926: append_packet_chunked (utils.c:305)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x19CC943: append_packet_chunked (utils.c:307)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x19CC961: append_packet_chunked (utils.c:307)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x1644E99: mov_read_packet (mov.c:7763)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x11c4b740] Incorrect number of samples in
 encryption info
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x11c4b740] Could not find codec parameters for
 stream 0 (Video: h264 (avc1 / 0x31637661), none(bt709), 560x320, 151
 kb/s): unspecified pixel format
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x14359AA: avio_seek (aviobuf.c:269)
 ==31695==    by 0x19FFC94: avio_tell (avio.h:559)
 ==31695==    by 0x19FFC94: avformat_find_stream_info (utils.c:4176)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F83F: ffmpeg_parse_options (ffmpeg_opt.c:3315)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'samples/mp4/gizmo-frag-2.mp4':
   Metadata:
     major_brand     : iso5
     minor_version   : 1
     compatible_brands: avc1iso5dash
     creation_time   : 2014-03-26T00:20:53.000000Z
     encoder         : HandBrake 0.9.9 2013052900
   Duration: 00:00:02.00, bitrate: 608 kb/s
     Stream #0:0(und): Video: h264 (avc1 / 0x31637661), none(bt709),
 560x320, 151 kb/s, SAR 1:1 DAR 7:4, 30 fps, 90k tbr, 90k tbn, 180k tbc
 (default)
     Metadata:
       creation_time   : 2014-03-26T00:20:53.000000Z
       encoder         : JVT/AVC Coding
     Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono,
 fltp, 65 kb/s (default)
     Metadata:
       creation_time   : 2014-03-26T00:20:53.000000Z
     Side data:
       unknown side data type 24 (68 bytes)
 [NULL @ 0x11e912c0] Unable to find a suitable output format for 'dnxhd'
 dnxhd: Invalid argument
 ==31695== Conditional jump or move depends on uninitialised value(s)
 ==31695==    at 0x14337DC: flush_buffer (aviobuf.c:182)
 ==31695==    by 0x144090E: avio_close (aviobuf.c:1225)
 ==31695==    by 0x48BB3D: ffmpeg_cleanup (ffmpeg.c:589)
 ==31695==    by 0x476322: exit_program (cmdutils.c:139)
 ==31695==    by 0x445A6D: open_output_file (ffmpeg_opt.c:2153)
 ==31695==    by 0x42FB4E: open_files (ffmpeg_opt.c:3275)
 ==31695==    by 0x42F8F6: ffmpeg_parse_options (ffmpeg_opt.c:3329)
 ==31695==    by 0x489A23: main (ffmpeg.c:4872)
 ==31695==
 ==31695==
 ==31695== HEAP SUMMARY:
 ==31695==     in use at exit: 18,878 bytes in 47 blocks
 ==31695==   total heap usage: 827 allocs, 780 frees, 2,257,856 bytes
 allocated
 ==31695==
 ==31695== 17,802 (24 direct, 17,778 indirect) bytes in 1 blocks are
 definitely lost in loss record 34 of 34
 ==31695==    at 0x9E5EE76: memalign (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==31695==    by 0x9E5EF91: posix_memalign (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==31695==    by 0x59BDC99: av_malloc (mem.c:87)
 ==31695==    by 0x59BDC99: av_mallocz (mem.c:238)
 ==31695==    by 0x595E843: av_buffer_create (buffer.c:49)
 ==31695==    by 0x595EAAC: av_buffer_alloc (buffer.c:76)
 ==31695==    by 0x1C448EC: av_grow_packet (avpacket.c:139)
 ==31695==    by 0x19CC799: append_packet_chunked (utils.c:289)
 ==31695==    by 0x1644E94: mov_read_packet (mov.c:7762)
 ==31695==    by 0x19D2130: ff_read_packet (utils.c:856)
 ==31695==    by 0x19DC00E: read_frame_internal (utils.c:1582)
 ==31695==    by 0x19F2B51: avformat_find_stream_info (utils.c:3786)
 ==31695==    by 0x431FF9: open_input_file (ffmpeg_opt.c:1126)
 ==31695==
 ==31695== LEAK SUMMARY:
 ==31695==    definitely lost: 24 bytes in 1 blocks
 ==31695==    indirectly lost: 17,778 bytes in 2 blocks
 ==31695==      possibly lost: 0 bytes in 0 blocks
 ==31695==    still reachable: 1,076 bytes in 44 blocks
 ==31695==         suppressed: 0 bytes in 0 blocks
 ==31695== Reachable blocks (those to which a pointer was found) are not
 shown.
 ==31695== To see them, rerun with: --leak-check=full --show-leak-kinds=all
 ==31695==
 ==31695== For counts of detected and suppressed errors, rerun with: -v
 ==31695== Use --track-origins=yes to see where uninitialised values come
 from
 ==31695== ERROR SUMMARY: 599 errors from 46 contexts (suppressed: 0 from
 0)
 }}}

 ASAN log
 {{{
 ffmpeg version N-94887-ge55018ee11 Copyright (c) 2000-2019 the FFmpeg
 developers
   built with clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
   configuration: --cc=afl-clang --cxx=afl-clang++ --ld=afl-clang
 --enable-debug --toolchain=clang-asan
   libavutil      56. 35.100 / 56. 35.100
   libavcodec     58. 56.101 / 58. 56.101
   libavformat    58. 32.104 / 58. 32.104
   libavdevice    58.  9.100 / 58.  9.100
   libavfilter     7. 58.102 /  7. 58.102
   libswscale      5.  6.100 /  5.  6.100
   libswresample   3.  6.100 /  3.  6.100
 libavutil/encryption_info.c:334:28: runtime error: null pointer passed as
 argument 2, which is declared to never be null
 /usr/include/string.h:43:28: note: nonnull attribute specified here
 SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
 libavutil/encryption_info.c:334:28 in
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x61b000000080] Incorrect number of samples in
 encryption info
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x61b000000080] Could not find codec parameters
 for stream 0 (Video: h264 (avc1 / 0x31637661), none(bt709), 560x320, 151
 kb/s): unspecified pixel format
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'samples/mp4/gizmo-frag-2.mp4':
   Metadata:
     major_brand     : iso5
     minor_version   : 1
     compatible_brands: avc1iso5dash
     creation_time   : 2014-03-26T00:20:53.000000Z
     encoder         : HandBrake 0.9.9 2013052900
   Duration: 00:00:02.00, bitrate: 608 kb/s
     Stream #0:0(und): Video: h264 (avc1 / 0x31637661), none(bt709),
 560x320, 151 kb/s, SAR 1:1 DAR 7:4, 30 fps, 90k tbr, 90k tbn, 180k tbc
 (default)
     Metadata:
       creation_time   : 2014-03-26T00:20:53.000000Z
       encoder         : JVT/AVC Coding
     Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono,
 fltp, 65 kb/s (default)
     Metadata:
       creation_time   : 2014-03-26T00:20:53.000000Z
     Side data:
       unknown side data type 24 (68 bytes)
 [NULL @ 0x61b000001580] Unable to find a suitable output format for
 'dnxhd'
 dnxhd: Invalid argument

 =================================================================
 ==19403==ERROR: LeakSanitizer: detected memory leaks

 Direct leak of 24 byte(s) in 1 object(s) allocated from:
     #0 0x4e07c8 in posix_memalign (ffmpeg_g+0x4e07c8)
     #1 0x202ff1df in av_malloc ffmpeg/libavutil/mem.c:87:9
     #2 0x202ff1df in av_mallocz ffmpeg/libavutil/mem.c:238
     #3 0x2000a689 in av_buffer_create ffmpeg/libavutil/buffer.c:49:11
     #4 0x2000bc78 in av_buffer_alloc ffmpeg/libavutil/buffer.c:76:11
     #5 0x9f59124 in av_grow_packet ffmpeg/libavcodec/avpacket.c:139:20

 Indirect leak of 17738 byte(s) in 1 object(s) allocated from:
     #0 0x4e07c8 in posix_memalign (ffmpeg_g+0x4e07c8)
     #1 0x202fa8b7 in av_malloc ffmpeg/libavutil/mem.c:87:9
     #2 0x2000bbcd in av_buffer_alloc ffmpeg/libavutil/buffer.c:72:12
     #3 0x9f59124 in av_grow_packet ffmpeg/libavcodec/avpacket.c:139:20

 Indirect leak of 40 byte(s) in 1 object(s) allocated from:
     #0 0x4e07c8 in posix_memalign (ffmpeg_g+0x4e07c8)
     #1 0x202ff1df in av_malloc ffmpeg/libavutil/mem.c:87:9
     #2 0x202ff1df in av_mallocz ffmpeg/libavutil/mem.c:238
     #3 0x2000976a in av_buffer_create ffmpeg/libavutil/buffer.c:35:11
     #4 0x2000bc78 in av_buffer_alloc ffmpeg/libavutil/buffer.c:76:11
     #5 0x9f59124 in av_grow_packet ffmpeg/libavcodec/avpacket.c:139:20

 SUMMARY: AddressSanitizer: 17802 byte(s) leaked in 3 allocation(s).

 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8150>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list