x86_64-archlinux-gcc-valgrind-no-undef N-90591-g4b736bc921

Architecturex86
Variantx86_64
CPUgeneric
OSlinux
Ownerubitux2
Compilergcc 7.2.1 (GCC) 20171224
Configuration--prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
Commentvalgrind-3.13.0 no-undef
RevisionN-90591-g4b736bc921
DateTue Apr 3 11:48:13 2018
Status3527 / 3592
Warnings178
Logscompile configure test
65 failed testsStatusLast good rev
diffstderrapi-band1N-101748-g797c2ecc8f
No diff output recorded
==23604== Memcheck, a memory error detector
==23604== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==23604== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==23604== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/api/api-band-test /home/fate/fate-suite/mpeg4/resize_down-up.h263
==23604== 
==23604== 
==23604== HEAP SUMMARY:
==23604==     in use at exit: 110,592 bytes in 28 blocks
==23604==   total heap usage: 12,577 allocs, 12,549 frees, 6,619,479 bytes allocated
==23604== 
==23604== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==23604==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==23604==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==23604==    by 0xC252DE: av_realloc_f (mem.c:157)
==23604==    by 0x38C045: alloc_table (bitstream.c:119)
==23604==    by 0x38C045: build_table (bitstream.c:168)
==23604==    by 0x38D27E: ff_init_vlc_sparse (bitstream.c:335)
==23604==    by 0x1A812E: init_studio_vlcs (mpeg4videodec.c:3323)
==23604==    by 0x1A812E: decode_init (mpeg4videodec.c:3364)
==23604==    by 0x6D88B3: avcodec_open2 (utils.c:920)
==23604==    by 0x1F47F9: avformat_find_stream_info (utils.c:3628)
==23604==    by 0x1EAE3E: video_decode (api-band-test.c:91)
==23604==    by 0x1EAE3E: main (api-band-test.c:217)
==23604== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:video_decode
   fun:main
}
==23604== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==23604==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==23604==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==23604==    by 0xC252DE: av_realloc_f (mem.c:157)
==23604==    by 0x38C045: alloc_table (bitstream.c:119)
==23604==    by 0x38C045: build_table (bitstream.c:168)
==23604==    by 0x38D27E: ff_init_vlc_sparse (bitstream.c:335)
==23604==    by 0x1A812E: init_studio_vlcs (mpeg4videodec.c:3323)
==23604==    by 0x1A812E: decode_init (mpeg4videodec.c:3364)
==23604==    by 0x6D88B3: avcodec_open2 (utils.c:920)
==23604==    by 0x1EAEF0: video_decode (api-band-test.c:126)
==23604==    by 0x1EAEF0: main (api-band-test.c:217)
==23604== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:video_decode
   fun:main
}
==23604== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==23604==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==23604==    by 0xC252DE: av_realloc_f (mem.c:157)
==23604==    by 0x38C045: alloc_table (bitstream.c:119)
==23604==    by 0x38C045: build_table (bitstream.c:168)
==23604==    by 0x38C325: build_table (bitstream.c:223)
==23604==    by 0x38D27E: ff_init_vlc_sparse (bitstream.c:335)
==23604==    by 0x1A8189: init_studio_vlcs (mpeg4videodec.c:3332)
==23604==    by 0x1A8189: decode_init (mpeg4videodec.c:3364)
==23604==    by 0x6D88B3: avcodec_open2 (utils.c:920)
==23604==    by 0x1F47F9: avformat_find_stream_info (utils.c:3628)
==23604==    by 0x1EAE3E: video_decode (api-band-test.c:91)
==23604==    by 0x1EAE3E: main (api-band-test.c:217)
==23604== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:video_decode
   fun:main
}
==23604== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==23604==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==23604==    by 0xC252DE: av_realloc_f (mem.c:157)
==23604==    by 0x38C045: alloc_table (bitstream.c:119)
==23604==    by 0x38C045: build_table (bitstream.c:168)
==23604==    by 0x38C325: build_table (bitstream.c:223)
==23604==    by 0x38D27E: ff_init_vlc_sparse (bitstream.c:335)
==23604==    by 0x1A81D3: init_studio_vlcs (mpeg4videodec.c:3339)
==23604==    by 0x1A81D3: decode_init (mpeg4videodec.c:3364)
==23604==    by 0x6D88B3: avcodec_open2 (utils.c:920)
==23604==    by 0x1F47F9: avformat_find_stream_info (utils.c:3628)
==23604==    by 0x1EAE3E: video_decode (api-band-test.c:91)
==23604==    by 0x1EAE3E: main (api-band-test.c:217)
==23604== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:video_decode
   fun:main
}
==23604== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==23604==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==23604==    by 0xC252DE: av_realloc_f (mem.c:157)
==23604==    by 0x38C045: alloc_table (bitstream.c:119)
==23604==    by 0x38C045: build_table (bitstream.c:168)
==23604==    by 0x38C325: build_table (bitstream.c:223)
==23604==    by 0x38D27E: ff_init_vlc_sparse (bitstream.c:335)
==23604==    by 0x1A8189: init_studio_vlcs (mpeg4videodec.c:3332)
==23604==    by 0x1A8189: decode_init (mpeg4videodec.c:3364)
==23604==    by 0x6D88B3: avcodec_open2 (utils.c:920)
==23604==    by 0x1EAEF0: video_decode (api-band-test.c:126)
==23604==    by 0x1EAEF0: main (api-band-test.c:217)
==23604== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:video_decode
   fun:main
}
==23604== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==23604==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==23604==    by 0xC252DE: av_realloc_f (mem.c:157)
==23604==    by 0x38C045: alloc_table (bitstream.c:119)
==23604==    by 0x38C045: build_table (bitstream.c:168)
==23604==    by 0x38C325: build_table (bitstream.c:223)
==23604==    by 0x38D27E: ff_init_vlc_sparse (bitstream.c:335)
==23604==    by 0x1A81D3: init_studio_vlcs (mpeg4videodec.c:3339)
==23604==    by 0x1A81D3: decode_init (mpeg4videodec.c:3364)
==23604==    by 0x6D88B3: avcodec_open2 (utils.c:920)
==23604==    by 0x1EAEF0: video_decode (api-band-test.c:126)
==23604==    by 0x1EAEF0: main (api-band-test.c:217)
==23604== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:video_decode
   fun:main
}
==23604== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==23604==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==23604==    by 0xC252DE: av_realloc_f (mem.c:157)
==23604==    by 0x38C045: alloc_table (bitstream.c:119)
==23604==    by 0x38C045: build_table (bitstream.c:168)
==23604==    by 0x38C325: build_table (bitstream.c:223)
==23604==    by 0x38D27E: ff_init_vlc_sparse (bitstream.c:335)
==23604==    by 0x1A812E: init_studio_vlcs (mpeg4videodec.c:3323)
==23604==    by 0x1A812E: decode_init (mpeg4videodec.c:3364)
==23604==    by 0x6D88B3: avcodec_open2 (utils.c:920)
==23604==    by 0x1F47F9: avformat_find_stream_info (utils.c:3628)
==23604==    by 0x1EAE3E: video_decode (api-band-test.c:91)
==23604==    by 0x1EAE3E: main (api-band-test.c:217)
==23604== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:video_decode
   fun:main
}
==23604== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==23604==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==23604==    by 0xC252DE: av_realloc_f (mem.c:157)
==23604==    by 0x38C045: alloc_table (bitstream.c:119)
==23604==    by 0x38C045: build_table (bitstream.c:168)
==23604==    by 0x38C325: build_table (bitstream.c:223)
==23604==    by 0x38D27E: ff_init_vlc_sparse (bitstream.c:335)
==23604==    by 0x1A812E: init_studio_vlcs (mpeg4videodec.c:3323)
==23604==    by 0x1A812E: decode_init (mpeg4videodec.c:3364)
==23604==    by 0x6D88B3: avcodec_open2 (utils.c:920)
==23604==    by 0x1EAEF0: video_decode (api-band-test.c:126)
==23604==    by 0x1EAEF0: main (api-band-test.c:217)
==23604== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:video_decode
   fun:main
}
==23604== LEAK SUMMARY:
==23604==    definitely lost: 110,592 bytes in 28 blocks
==23604==    indirectly lost: 0 bytes in 0 blocks
==23604==      possibly lost: 0 bytes in 0 blocks
==23604==    still reachable: 0 bytes in 0 blocks
==23604==         suppressed: 0 bytes in 0 blocks
==23604== 
==23604== For counts of detected and suppressed errors, rerun with: -v
==23604== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrffmpeg-bsf-remove-e1N-101748-g797c2ecc8f
No diff output recorded
==22928== Memcheck, a memory error detector
==22928== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22928== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==22928== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f mpeg -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/mpeg2/matrixbench_mpeg2.lq1.mpg -threads 1 -idct simple -dct fastint -vbsf remove_extra=e -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/ffmpeg-bsf-remove-e.avi
==22928== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, mpeg, from '/home/fate/fate-suite/mpeg2/matrixbench_mpeg2.lq1.mpg':
  Duration: 00:00:00.96, start: 0.540000, bitrate: 1757 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, progressive), 716x236 [SAR 1:1 DAR 179:59], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/ffmpeg-bsf-remove-e.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 716x236 [SAR 1:1 DAR 179:59], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   25 fps= 17 q=16.0 Lsize=     127kB time=00:00:01.00 bitrate=1039.9kbits/s speed=0.692x    
video:121kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 5.129408%
==22928== 
==22928== HEAP SUMMARY:
==22928==     in use at exit: 0 bytes in 0 blocks
==22928==   total heap usage: 8,687 allocs, 8,687 frees, 6,253,776 bytes allocated
==22928== 
==22928== All heap blocks were freed -- no leaks are possible
==22928== 
==22928== For counts of detected and suppressed errors, rerun with: -v
==22928== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==22956== Memcheck, a memory error detector
==22956== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22956== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==22956== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i tests/data/fate/ffmpeg-bsf-remove-e.avi -threads 1 -idct simple -dct fastint -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -codec copy -f framecrc -
==22956== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[mpeg4 @ 0x7113600] time_increment_bits 0 is invalid in relation to the current bitstream, this is likely caused by a missing VOL header
[mpeg4 @ 0x7113600] time_increment_bits set to 5 bits, based on bitstream analysis
[mpeg4 @ 0x7113600] time_increment_bits 4 is invalid in relation to the current bitstream, this is likely caused by a missing VOL header
[mpeg4 @ 0x7113600] time_increment_bits set to 5 bits, based on bitstream analysis
[mpeg4 @ 0x7113600] looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
[mpeg4 @ 0x7113600] Error, header damaged or not MPEG-4 header (f_code=0)
    Last message repeated 1 times
Input #0, avi, from 'tests/data/fate/ffmpeg-bsf-remove-e.avi':
  Duration: 00:00:01.00, start: 0.000000, bitrate: 1039 kb/s
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 716x236, 1030 kb/s, SAR 1:1 DAR 179:59, 25 fps, 25 tbr, 25 tbn, 25 tbc
Output #0, framecrc, to 'pipe:':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 716x236 [SAR 1:1 DAR 179:59], q=2-31, 1030 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
[framecrc @ 0x71cbec0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
frame=   25 fps=0.0 q=-1.0 Lsize=       2kB time=00:00:01.00 bitrate=  15.5kbits/s speed=61.1x    
video:121kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==22956== 
==22956== HEAP SUMMARY:
==22956==     in use at exit: 55,296 bytes in 14 blocks
==22956==   total heap usage: 811 allocs, 797 frees, 903,675 bytes allocated
==22956== 
==22956== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 4
==22956==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==22956==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==22956==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22956==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22956==    by 0x5B11F5: build_table (bitstream.c:168)
==22956==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22956==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==22956==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==22956==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22956==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22956==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22956==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22956==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22956==    by 0x263BAD: main (ffmpeg.c:4787)
==22956== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22956== 4,096 bytes in 1 blocks are definitely lost in loss record 2 of 4
==22956==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==22956==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22956==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22956==    by 0x5B11F5: build_table (bitstream.c:168)
==22956==    by 0x5B14D5: build_table (bitstream.c:223)
==22956==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22956==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==22956==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==22956==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22956==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22956==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22956==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22956==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22956==    by 0x263BAD: main (ffmpeg.c:4787)
==22956== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22956== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 4
==22956==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==22956==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22956==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22956==    by 0x5B11F5: build_table (bitstream.c:168)
==22956==    by 0x5B14D5: build_table (bitstream.c:223)
==22956==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22956==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==22956==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==22956==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22956==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22956==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22956==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22956==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22956==    by 0x263BAD: main (ffmpeg.c:4787)
==22956== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22956== 45,056 bytes in 11 blocks are definitely lost in loss record 4 of 4
==22956==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==22956==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22956==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22956==    by 0x5B11F5: build_table (bitstream.c:168)
==22956==    by 0x5B14D5: build_table (bitstream.c:223)
==22956==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22956==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==22956==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==22956==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22956==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22956==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22956==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22956==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22956==    by 0x263BAD: main (ffmpeg.c:4787)
==22956== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22956== LEAK SUMMARY:
==22956==    definitely lost: 55,296 bytes in 14 blocks
==22956==    indirectly lost: 0 bytes in 0 blocks
==22956==      possibly lost: 0 bytes in 0 blocks
==22956==    still reachable: 0 bytes in 0 blocks
==22956==         suppressed: 0 bytes in 0 blocks
==22956== 
==22956== For counts of detected and suppressed errors, rerun with: -v
==22956== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
diffstderrffmpeg-bsf-remove-k1N-101748-g797c2ecc8f
No diff output recorded
==22904== Memcheck, a memory error detector
==22904== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22904== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==22904== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f mpeg -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/mpeg2/matrixbench_mpeg2.lq1.mpg -threads 1 -idct simple -dct fastint -vbsf remove_extra=k -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/ffmpeg-bsf-remove-k.avi
==22904== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, mpeg, from '/home/fate/fate-suite/mpeg2/matrixbench_mpeg2.lq1.mpg':
  Duration: 00:00:00.96, start: 0.540000, bitrate: 1757 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, progressive), 716x236 [SAR 1:1 DAR 179:59], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/ffmpeg-bsf-remove-k.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 716x236 [SAR 1:1 DAR 179:59], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   25 fps= 17 q=16.0 Lsize=     127kB time=00:00:01.00 bitrate=1040.6kbits/s speed=0.694x    
video:121kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 5.125677%
==22904== 
==22904== HEAP SUMMARY:
==22904==     in use at exit: 0 bytes in 0 blocks
==22904==   total heap usage: 8,687 allocs, 8,687 frees, 6,253,776 bytes allocated
==22904== 
==22904== All heap blocks were freed -- no leaks are possible
==22904== 
==22904== For counts of detected and suppressed errors, rerun with: -v
==22904== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==22948== Memcheck, a memory error detector
==22948== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22948== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==22948== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i tests/data/fate/ffmpeg-bsf-remove-k.avi -threads 1 -idct simple -dct fastint -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -codec copy -f framecrc -
==22948== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from 'tests/data/fate/ffmpeg-bsf-remove-k.avi':
  Duration: 00:00:01.00, start: 0.000000, bitrate: 1040 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 716x236 [SAR 1:1 DAR 179:59], 1031 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Output #0, framecrc, to 'pipe:':
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 716x236 [SAR 1:1 DAR 179:59], q=2-31, 1031 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
frame=   25 fps=0.0 q=-1.0 Lsize=       2kB time=00:00:01.00 bitrate=  13.8kbits/s speed=49.3x    
video:121kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==22948== 
==22948== HEAP SUMMARY:
==22948==     in use at exit: 55,296 bytes in 14 blocks
==22948==   total heap usage: 751 allocs, 737 frees, 876,045 bytes allocated
==22948== 
==22948== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 4
==22948==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==22948==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==22948==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22948==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22948==    by 0x5B11F5: build_table (bitstream.c:168)
==22948==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22948==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==22948==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==22948==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22948==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22948==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22948==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22948==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22948==    by 0x263BAD: main (ffmpeg.c:4787)
==22948== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22948== 4,096 bytes in 1 blocks are definitely lost in loss record 2 of 4
==22948==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==22948==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22948==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22948==    by 0x5B11F5: build_table (bitstream.c:168)
==22948==    by 0x5B14D5: build_table (bitstream.c:223)
==22948==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22948==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==22948==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==22948==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22948==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22948==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22948==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22948==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22948==    by 0x263BAD: main (ffmpeg.c:4787)
==22948== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22948== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 4
==22948==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==22948==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22948==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22948==    by 0x5B11F5: build_table (bitstream.c:168)
==22948==    by 0x5B14D5: build_table (bitstream.c:223)
==22948==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22948==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==22948==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==22948==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22948==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22948==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22948==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22948==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22948==    by 0x263BAD: main (ffmpeg.c:4787)
==22948== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22948== 45,056 bytes in 11 blocks are definitely lost in loss record 4 of 4
==22948==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==22948==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22948==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22948==    by 0x5B11F5: build_table (bitstream.c:168)
==22948==    by 0x5B14D5: build_table (bitstream.c:223)
==22948==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22948==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==22948==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==22948==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22948==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22948==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22948==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22948==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22948==    by 0x263BAD: main (ffmpeg.c:4787)
==22948== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22948== LEAK SUMMARY:
==22948==    definitely lost: 55,296 bytes in 14 blocks
==22948==    indirectly lost: 0 bytes in 0 blocks
==22948==      possibly lost: 0 bytes in 0 blocks
==22948==    still reachable: 0 bytes in 0 blocks
==22948==         suppressed: 0 bytes in 0 blocks
==22948== 
==22948== For counts of detected and suppressed errors, rerun with: -v
==22948== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
diffstderrffmpeg-bsf-remove-r1N-101748-g797c2ecc8f
No diff output recorded
==22916== Memcheck, a memory error detector
==22916== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22916== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==22916== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f mpeg -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/mpeg2/matrixbench_mpeg2.lq1.mpg -threads 1 -idct simple -dct fastint -vbsf remove_extra=keyframe -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/ffmpeg-bsf-remove-r.avi
==22916== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, mpeg, from '/home/fate/fate-suite/mpeg2/matrixbench_mpeg2.lq1.mpg':
  Duration: 00:00:00.96, start: 0.540000, bitrate: 1757 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, progressive), 716x236 [SAR 1:1 DAR 179:59], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/ffmpeg-bsf-remove-r.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 716x236 [SAR 1:1 DAR 179:59], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   25 fps= 17 q=16.0 Lsize=     127kB time=00:00:01.00 bitrate=1039.9kbits/s speed=0.692x    
video:121kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 5.129408%
==22916== 
==22916== HEAP SUMMARY:
==22916==     in use at exit: 0 bytes in 0 blocks
==22916==   total heap usage: 8,687 allocs, 8,687 frees, 6,253,797 bytes allocated
==22916== 
==22916== All heap blocks were freed -- no leaks are possible
==22916== 
==22916== For counts of detected and suppressed errors, rerun with: -v
==22916== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==22952== Memcheck, a memory error detector
==22952== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22952== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==22952== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i tests/data/fate/ffmpeg-bsf-remove-r.avi -threads 1 -idct simple -dct fastint -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -codec copy -f framecrc -
==22952== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[mpeg4 @ 0x7113600] time_increment_bits 0 is invalid in relation to the current bitstream, this is likely caused by a missing VOL header
[mpeg4 @ 0x7113600] time_increment_bits set to 5 bits, based on bitstream analysis
[mpeg4 @ 0x7113600] time_increment_bits 4 is invalid in relation to the current bitstream, this is likely caused by a missing VOL header
[mpeg4 @ 0x7113600] time_increment_bits set to 5 bits, based on bitstream analysis
[mpeg4 @ 0x7113600] looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
[mpeg4 @ 0x7113600] Error, header damaged or not MPEG-4 header (f_code=0)
    Last message repeated 1 times
Input #0, avi, from 'tests/data/fate/ffmpeg-bsf-remove-r.avi':
  Duration: 00:00:01.00, start: 0.000000, bitrate: 1039 kb/s
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 716x236, 1030 kb/s, SAR 1:1 DAR 179:59, 25 fps, 25 tbr, 25 tbn, 25 tbc
Output #0, framecrc, to 'pipe:':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 716x236 [SAR 1:1 DAR 179:59], q=2-31, 1030 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
[framecrc @ 0x71cbec0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
frame=   25 fps=0.0 q=-1.0 Lsize=       2kB time=00:00:01.00 bitrate=  15.5kbits/s speed=60.7x    
video:121kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==22952== 
==22952== HEAP SUMMARY:
==22952==     in use at exit: 55,296 bytes in 14 blocks
==22952==   total heap usage: 811 allocs, 797 frees, 903,675 bytes allocated
==22952== 
==22952== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 4
==22952==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==22952==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==22952==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22952==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22952==    by 0x5B11F5: build_table (bitstream.c:168)
==22952==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22952==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==22952==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==22952==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22952==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22952==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22952==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22952==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22952==    by 0x263BAD: main (ffmpeg.c:4787)
==22952== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22952== 4,096 bytes in 1 blocks are definitely lost in loss record 2 of 4
==22952==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==22952==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22952==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22952==    by 0x5B11F5: build_table (bitstream.c:168)
==22952==    by 0x5B14D5: build_table (bitstream.c:223)
==22952==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22952==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==22952==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==22952==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22952==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22952==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22952==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22952==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22952==    by 0x263BAD: main (ffmpeg.c:4787)
==22952== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22952== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 4
==22952==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==22952==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22952==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22952==    by 0x5B11F5: build_table (bitstream.c:168)
==22952==    by 0x5B14D5: build_table (bitstream.c:223)
==22952==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22952==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==22952==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==22952==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22952==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22952==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22952==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22952==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22952==    by 0x263BAD: main (ffmpeg.c:4787)
==22952== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22952== 45,056 bytes in 11 blocks are definitely lost in loss record 4 of 4
==22952==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==22952==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22952==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22952==    by 0x5B11F5: build_table (bitstream.c:168)
==22952==    by 0x5B14D5: build_table (bitstream.c:223)
==22952==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22952==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==22952==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==22952==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22952==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22952==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22952==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22952==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22952==    by 0x263BAD: main (ffmpeg.c:4787)
==22952== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22952== LEAK SUMMARY:
==22952==    definitely lost: 55,296 bytes in 14 blocks
==22952==    indirectly lost: 0 bytes in 0 blocks
==22952==      possibly lost: 0 bytes in 0 blocks
==22952==    still reachable: 0 bytes in 0 blocks
==22952==         suppressed: 0 bytes in 0 blocks
==22952== 
==22952== For counts of detected and suppressed errors, rerun with: -v
==22952== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
diffstderrforce_key_frames1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/fate/force_key_frames	2017-03-24 21:02:53.619713101 +0000
+++ tests/data/fate/force_key_frames	2018-04-03 13:20:30.813095494 +0000
@@ -1,4 +1,2 @@
 07567b9528b8de523faaf49e4e1e0fc6 *tests/data/fate/force_key_frames.avi
 113312 tests/data/fate/force_key_frames.avi
-b2e92b97bac0243242281d71108ffdbd *tests/data/fate/force_key_frames.out.framecrc
-stddev:34612.83 PSNR:  5.54 MAXDIFF:61408 bytes:  7603200/      264
==22746== Memcheck, a memory error detector
==22746== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22746== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==22746== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -g 240 -qscale 10 -force_key_frames 0.5,0:00:01.5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/force_key_frames.avi
==22746== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100a00] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/force_key_frames.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 35 q=10.0 Lsize=     111kB time=00:00:02.00 bitrate= 453.2kbits/s speed=1.41x    
video:104kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 6.463221%
==22746== 
==22746== HEAP SUMMARY:
==22746==     in use at exit: 0 bytes in 0 blocks
==22746==   total heap usage: 5,843 allocs, 5,843 frees, 10,139,030 bytes allocated
==22746== 
==22746== All heap blocks were freed -- no leaks are possible
==22746== 
==22746== For counts of detected and suppressed errors, rerun with: -v
==22746== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==22832== Memcheck, a memory error detector
==22832== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22832== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==22832== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -skip_frame nokey -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/force_key_frames.avi -threads 1 -idct simple -dct fastint -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f framecrc -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/force_key_frames.out.framecrc
==22832== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/force_key_frames.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 453 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 434 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, framecrc, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/force_key_frames.out.framecrc':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=    3 fps=0.0 q=-0.0 Lsize=       0kB time=00:00:01.56 bitrate=   1.4kbits/s speed=7.96x    
video:446kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==22832== 
==22832== HEAP SUMMARY:
==22832==     in use at exit: 110,592 bytes in 28 blocks
==22832==   total heap usage: 2,277 allocs, 2,249 frees, 2,559,766 bytes allocated
==22832== 
==22832== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==22832==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==22832==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==22832==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22832==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22832==    by 0x5B11F5: build_table (bitstream.c:168)
==22832==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22832==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==22832==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==22832==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22832==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22832==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22832==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22832==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22832==    by 0x263BAD: main (ffmpeg.c:4787)
==22832== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22832== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==22832==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==22832==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==22832==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22832==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22832==    by 0x5B11F5: build_table (bitstream.c:168)
==22832==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22832==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==22832==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==22832==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22832==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==22832==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==22832==    by 0x263C49: transcode (ffmpeg.c:4585)
==22832==    by 0x263C49: main (ffmpeg.c:4814)
==22832== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==22832== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==22832==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==22832==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22832==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22832==    by 0x5B11F5: build_table (bitstream.c:168)
==22832==    by 0x5B14D5: build_table (bitstream.c:223)
==22832==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22832==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==22832==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==22832==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22832==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22832==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22832==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22832==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22832==    by 0x263BAD: main (ffmpeg.c:4787)
==22832== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22832== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==22832==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==22832==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22832==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22832==    by 0x5B11F5: build_table (bitstream.c:168)
==22832==    by 0x5B14D5: build_table (bitstream.c:223)
==22832==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22832==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==22832==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==22832==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22832==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22832==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22832==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22832==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22832==    by 0x263BAD: main (ffmpeg.c:4787)
==22832== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22832== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==22832==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==22832==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22832==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22832==    by 0x5B11F5: build_table (bitstream.c:168)
==22832==    by 0x5B14D5: build_table (bitstream.c:223)
==22832==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22832==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==22832==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==22832==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22832==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==22832==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==22832==    by 0x263C49: transcode (ffmpeg.c:4585)
==22832==    by 0x263C49: main (ffmpeg.c:4814)
==22832== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==22832== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==22832==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==22832==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22832==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22832==    by 0x5B11F5: build_table (bitstream.c:168)
==22832==    by 0x5B14D5: build_table (bitstream.c:223)
==22832==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22832==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==22832==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==22832==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22832==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==22832==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==22832==    by 0x263C49: transcode (ffmpeg.c:4585)
==22832==    by 0x263C49: main (ffmpeg.c:4814)
==22832== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==22832== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==22832==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==22832==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22832==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22832==    by 0x5B11F5: build_table (bitstream.c:168)
==22832==    by 0x5B14D5: build_table (bitstream.c:223)
==22832==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22832==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==22832==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==22832==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22832==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==22832==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==22832==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==22832==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==22832==    by 0x263BAD: main (ffmpeg.c:4787)
==22832== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==22832== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==22832==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==22832==    by 0xEDE21E: av_realloc_f (mem.c:157)
==22832==    by 0x5B11F5: alloc_table (bitstream.c:119)
==22832==    by 0x5B11F5: build_table (bitstream.c:168)
==22832==    by 0x5B14D5: build_table (bitstream.c:223)
==22832==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==22832==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==22832==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==22832==    by 0x8FE373: avcodec_open2 (utils.c:920)
==22832==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==22832==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==22832==    by 0x263C49: transcode (ffmpeg.c:4585)
==22832==    by 0x263C49: main (ffmpeg.c:4814)
==22832== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==22832== LEAK SUMMARY:
==22832==    definitely lost: 110,592 bytes in 28 blocks
==22832==    indirectly lost: 0 bytes in 0 blocks
==22832==      possibly lost: 0 bytes in 0 blocks
==22832==    still reachable: 0 bytes in 0 blocks
==22832==         suppressed: 0 bytes in 0 blocks
==22832== 
==22832== For counts of detected and suppressed errors, rerun with: -v
==22832== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderriv8-demux1N-101748-g797c2ecc8f
No diff output recorded
==12839== Memcheck, a memory error detector
==12839== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==12839== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==12839== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/iv8/zzz-partial.mpg -c:v copy -bitexact -f framecrc -
==12839== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, iv8, from '/home/fate/fate-suite/iv8/zzz-partial.mpg':
  Duration: N/A, start: 9419.621456, bitrate: N/A
    Stream #0:0: Video: mpeg4, yuv420p, 704x576 [SAR 1:1 DAR 11:9], 25 fps, 25 tbr, 90k tbn, 30k tbc
Output #0, framecrc, to 'pipe:':
    Stream #0:0: Video: mpeg4, yuv420p, 704x576 [SAR 1:1 DAR 11:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
[iv8 @ 0x70e6000] Truncated packet! Read 25 of 992 bytes
/home/fate/fate-suite/iv8/zzz-partial.mpg: Operation not permitted
frame=   25 fps=0.0 q=-1.0 Lsize=       2kB time=00:00:00.96 bitrate=  13.1kbits/s speed=32.3x    
video:503kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==12839== 
==12839== HEAP SUMMARY:
==12839==     in use at exit: 55,296 bytes in 14 blocks
==12839==   total heap usage: 1,227 allocs, 1,213 frees, 7,460,570 bytes allocated
==12839== 
==12839== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 4
==12839==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==12839==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==12839==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12839==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12839==    by 0x5B11F5: build_table (bitstream.c:168)
==12839==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12839==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==12839==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==12839==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12839==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12839==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12839==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12839==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12839==    by 0x263BAD: main (ffmpeg.c:4787)
==12839== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12839== 4,096 bytes in 1 blocks are definitely lost in loss record 2 of 4
==12839==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==12839==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12839==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12839==    by 0x5B11F5: build_table (bitstream.c:168)
==12839==    by 0x5B14D5: build_table (bitstream.c:223)
==12839==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12839==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==12839==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==12839==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12839==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12839==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12839==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12839==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12839==    by 0x263BAD: main (ffmpeg.c:4787)
==12839== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12839== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 4
==12839==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==12839==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12839==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12839==    by 0x5B11F5: build_table (bitstream.c:168)
==12839==    by 0x5B14D5: build_table (bitstream.c:223)
==12839==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12839==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==12839==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==12839==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12839==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12839==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12839==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12839==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12839==    by 0x263BAD: main (ffmpeg.c:4787)
==12839== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12839== 45,056 bytes in 11 blocks are definitely lost in loss record 4 of 4
==12839==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==12839==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12839==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12839==    by 0x5B11F5: build_table (bitstream.c:168)
==12839==    by 0x5B14D5: build_table (bitstream.c:223)
==12839==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12839==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==12839==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==12839==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12839==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12839==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12839==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12839==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12839==    by 0x263BAD: main (ffmpeg.c:4787)
==12839== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12839== LEAK SUMMARY:
==12839==    definitely lost: 55,296 bytes in 14 blocks
==12839==    indirectly lost: 0 bytes in 0 blocks
==12839==      possibly lost: 0 bytes in 0 blocks
==12839==    still reachable: 0 bytes in 0 blocks
==12839==         suppressed: 0 bytes in 0 blocks
==12839== 
==12839== For counts of detected and suppressed errors, rerun with: -v
==12839== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
diffstderrlavf-avi1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/lavf/avi	2017-03-24 21:02:53.646379831 +0000
+++ tests/data/fate/lavf-avi	2018-04-03 13:26:43.622855324 +0000
@@ -1,3 +1,2 @@
 ab696052289d8dfea193e4cf94a94a6f *./tests/data/lavf/lavf.avi
 330814 ./tests/data/lavf/lavf.avi
-./tests/data/lavf/lavf.avi CRC=0xec6c3c68
==29043== Memcheck, a memory error detector
==29043== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==29043== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==29043== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -y -cpuflags all -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -f image2 -vcodec pgmyuv -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/vsynth1/%02d.pgm -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -ar 44100 -f s16le -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/asynth1.sw -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -dct fastint -metadata title=lavftest -b:a 64k -t 1 -qscale:v 10 -acodec mp2 -ar 44100 -ab 64k -threads 1 /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.avi
==29043== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, image2, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/vsynth1/%02d.pgm':
  Duration: 00:00:02.00, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: pgmyuv, yuv420p, 352x288, 25 fps, 25 tbr, 25 tbn, 25 tbc
[s16le @ 0x774f940] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #1.0 : mono
Input #1, s16le, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/asynth1.sw':
  Duration: 00:00:12.00, bitrate: 705 kb/s
    Stream #1:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Codec AVOption idct (select IDCT implementation) specified for input file #1 (/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/asynth1.sw) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some decoder which was not actually used for any stream.
Stream mapping:
  Stream #0:0 -> #0:0 (pgmyuv (native) -> mpeg4 (native))
  Stream #1:0 -> #0:1 (pcm_s16le (native) -> mp2 (native))
[image2 @ 0x710dc40] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.avi':
  Metadata:
    INAM            : lavftest
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p(progressive), 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 44100 Hz, mono, s16, 64 kb/s
    Metadata:
      encoder         : Lavc mp2
frame=   25 fps= 12 q=10.0 Lsize=     323kB time=00:00:01.01 bitrate=2597.7kbits/s speed=0.48x    
video:304kB audio:8kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.607960%
==29043== 
==29043== HEAP SUMMARY:
==29043==     in use at exit: 0 bytes in 0 blocks
==29043==   total heap usage: 7,379 allocs, 7,379 frees, 11,048,269 bytes allocated
==29043== 
==29043== All heap blocks were freed -- no leaks are possible
==29043== 
==29043== For counts of detected and suppressed errors, rerun with: -v
==29043== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==29166== Memcheck, a memory error detector
==29166== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==29166== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==29166== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -y -cpuflags all -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.avi -f crc /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/avi.lavf.crc
==29166== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.avi':
  Metadata:
    title           : lavftest
  Duration: 00:00:01.02, start: 0.000000, bitrate: 2597 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 2592 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 44100 Hz, mono, s16p, 64 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
  Stream #0:1 -> #0:1 (mp2 (native) -> pcm_s16le (native))
Output #0, crc, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/avi.lavf.crc':
  Metadata:
    title           : lavftest
    encoder         : Lavf58.10.100
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p(progressive), 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.17.100 rawvideo
    Stream #0:1: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
    Metadata:
      encoder         : Lavc58.17.100 pcm_s16le
frame=   25 fps=0.0 q=-0.0 Lsize=       0kB time=00:00:01.01 bitrate=   0.1kbits/s speed= 1.3x    
video:3712kB audio:88kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==29166== 
==29166== HEAP SUMMARY:
==29166==     in use at exit: 110,592 bytes in 28 blocks
==29166==   total heap usage: 4,914 allocs, 4,886 frees, 6,698,729 bytes allocated
==29166== 
==29166== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==29166==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==29166==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==29166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29166==    by 0x5B11F5: build_table (bitstream.c:168)
==29166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29166==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==29166==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==29166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29166==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==29166==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==29166==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==29166==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==29166==    by 0x263BAD: main (ffmpeg.c:4787)
==29166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==29166== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==29166==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==29166==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==29166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29166==    by 0x5B11F5: build_table (bitstream.c:168)
==29166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29166==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==29166==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==29166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29166==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==29166==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==29166==    by 0x263C49: transcode (ffmpeg.c:4585)
==29166==    by 0x263C49: main (ffmpeg.c:4814)
==29166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==29166== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==29166==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29166==    by 0x5B11F5: build_table (bitstream.c:168)
==29166==    by 0x5B14D5: build_table (bitstream.c:223)
==29166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29166==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==29166==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==29166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29166==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==29166==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==29166==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==29166==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==29166==    by 0x263BAD: main (ffmpeg.c:4787)
==29166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==29166== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==29166==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29166==    by 0x5B11F5: build_table (bitstream.c:168)
==29166==    by 0x5B14D5: build_table (bitstream.c:223)
==29166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29166==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==29166==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==29166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29166==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==29166==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==29166==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==29166==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==29166==    by 0x263BAD: main (ffmpeg.c:4787)
==29166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==29166== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==29166==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29166==    by 0x5B11F5: build_table (bitstream.c:168)
==29166==    by 0x5B14D5: build_table (bitstream.c:223)
==29166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29166==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==29166==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==29166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29166==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==29166==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==29166==    by 0x263C49: transcode (ffmpeg.c:4585)
==29166==    by 0x263C49: main (ffmpeg.c:4814)
==29166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==29166== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==29166==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29166==    by 0x5B11F5: build_table (bitstream.c:168)
==29166==    by 0x5B14D5: build_table (bitstream.c:223)
==29166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29166==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==29166==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==29166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29166==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==29166==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==29166==    by 0x263C49: transcode (ffmpeg.c:4585)
==29166==    by 0x263C49: main (ffmpeg.c:4814)
==29166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==29166== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==29166==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29166==    by 0x5B11F5: build_table (bitstream.c:168)
==29166==    by 0x5B14D5: build_table (bitstream.c:223)
==29166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29166==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==29166==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==29166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29166==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==29166==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==29166==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==29166==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==29166==    by 0x263BAD: main (ffmpeg.c:4787)
==29166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==29166== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==29166==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29166==    by 0x5B11F5: build_table (bitstream.c:168)
==29166==    by 0x5B14D5: build_table (bitstream.c:223)
==29166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29166==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==29166==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==29166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29166==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==29166==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==29166==    by 0x263C49: transcode (ffmpeg.c:4585)
==29166==    by 0x263C49: main (ffmpeg.c:4814)
==29166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==29166== LEAK SUMMARY:
==29166==    definitely lost: 110,592 bytes in 28 blocks
==29166==    indirectly lost: 0 bytes in 0 blocks
==29166==      possibly lost: 0 bytes in 0 blocks
==29166==    still reachable: 0 bytes in 0 blocks
==29166==         suppressed: 0 bytes in 0 blocks
==29166== 
==29166== For counts of detected and suppressed errors, rerun with: -v
==29166== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrlavf-ismv1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/lavf/ismv	2017-03-24 21:02:53.646379831 +0000
+++ tests/data/fate/lavf-ismv	2018-04-03 13:27:13.306169601 +0000
@@ -1,9 +1,2 @@
 a9ccbb4cd1436d222ef4425567b4e03d *./tests/data/lavf/lavf.ismv
 312542 ./tests/data/lavf/lavf.ismv
-./tests/data/lavf/lavf.ismv CRC=0x9d9a638a
-440d85f9fd5b9f63c2676638782b5c15 *./tests/data/lavf/lavf.ismv
-321448 ./tests/data/lavf/lavf.ismv
-./tests/data/lavf/lavf.ismv CRC=0xe8130120
-a9ccbb4cd1436d222ef4425567b4e03d *./tests/data/lavf/lavf.ismv
-312542 ./tests/data/lavf/lavf.ismv
-./tests/data/lavf/lavf.ismv CRC=0x9d9a638a
==29787== Memcheck, a memory error detector
==29787== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==29787== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==29787== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -y -cpuflags all -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -f image2 -vcodec pgmyuv -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/vsynth1/%02d.pgm -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -ar 44100 -f s16le -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/asynth1.sw -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -dct fastint -metadata title=lavftest -b:a 64k -t 1 -qscale:v 10 -an -vcodec mpeg4 -threads 1 -timecode 02:56:14:13 /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.ismv
==29787== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, image2, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/vsynth1/%02d.pgm':
  Duration: 00:00:02.00, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: pgmyuv, yuv420p, 352x288, 25 fps, 25 tbr, 25 tbn, 25 tbc
[s16le @ 0x774f940] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #1.0 : mono
Input #1, s16le, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/asynth1.sw':
  Duration: 00:00:12.00, bitrate: 705 kb/s
    Stream #1:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Codec AVOption idct (select IDCT implementation) specified for input file #1 (/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/asynth1.sw) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some decoder which was not actually used for any stream.
Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.ismv) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Stream mapping:
  Stream #0:0 -> #0:0 (pgmyuv (native) -> mpeg4 (native))
[image2 @ 0x710dc40] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
Output #0, ismv, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.ismv':
  Metadata:
    title           : lavftest
    timecode        : 02:56:14:13
    Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 10000k tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   25 fps= 23 q=10.0 Lsize=     305kB time=00:00:00.96 bitrate=2604.5kbits/s speed=0.878x    
video:304kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.478374%
==29787== 
==29787== HEAP SUMMARY:
==29787==     in use at exit: 0 bytes in 0 blocks
==29787==   total heap usage: 6,305 allocs, 6,305 frees, 11,584,406 bytes allocated
==29787== 
==29787== All heap blocks were freed -- no leaks are possible
==29787== 
==29787== For counts of detected and suppressed errors, rerun with: -v
==29787== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==29808== Memcheck, a memory error detector
==29808== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==29808== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==29808== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -y -cpuflags all -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.ismv -f crc /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/ismv.lavf.crc
==29808== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.ismv':
  Metadata:
    major_brand     : isml
    minor_version   : 512
    compatible_brands: piff
    title           : lavftest
  Duration: 00:00:01.00, start: 0.000000, bitrate: 2500 kb/s
    Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 2488 kb/s, 25 fps, 25 tbr, 10000k tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, crc, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/ismv.lavf.crc':
  Metadata:
    major_brand     : isml
    minor_version   : 512
    compatible_brands: piff
    title           : lavftest
    encoder         : Lavf58.10.100
    Stream #0:0(und): Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc58.17.100 rawvideo
frame=   25 fps=0.0 q=-0.0 Lsize=       0kB time=00:00:01.00 bitrate=   0.1kbits/s speed=1.86x    
video:3712kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==29808== 
==29808== HEAP SUMMARY:
==29808==     in use at exit: 110,592 bytes in 28 blocks
==29808==   total heap usage: 3,515 allocs, 3,487 frees, 6,140,776 bytes allocated
==29808== 
==29808== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==29808==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==29808==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==29808==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29808==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29808==    by 0x5B11F5: build_table (bitstream.c:168)
==29808==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29808==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==29808==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==29808==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29808==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==29808==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==29808==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==29808==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==29808==    by 0x263BAD: main (ffmpeg.c:4787)
==29808== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==29808== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==29808==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==29808==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==29808==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29808==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29808==    by 0x5B11F5: build_table (bitstream.c:168)
==29808==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29808==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==29808==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==29808==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29808==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==29808==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==29808==    by 0x263C49: transcode (ffmpeg.c:4585)
==29808==    by 0x263C49: main (ffmpeg.c:4814)
==29808== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==29808== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==29808==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29808==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29808==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29808==    by 0x5B11F5: build_table (bitstream.c:168)
==29808==    by 0x5B14D5: build_table (bitstream.c:223)
==29808==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29808==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==29808==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==29808==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29808==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==29808==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==29808==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==29808==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==29808==    by 0x263BAD: main (ffmpeg.c:4787)
==29808== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==29808== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==29808==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29808==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29808==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29808==    by 0x5B11F5: build_table (bitstream.c:168)
==29808==    by 0x5B14D5: build_table (bitstream.c:223)
==29808==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29808==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==29808==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==29808==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29808==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==29808==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==29808==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==29808==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==29808==    by 0x263BAD: main (ffmpeg.c:4787)
==29808== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==29808== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==29808==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29808==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29808==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29808==    by 0x5B11F5: build_table (bitstream.c:168)
==29808==    by 0x5B14D5: build_table (bitstream.c:223)
==29808==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29808==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==29808==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==29808==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29808==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==29808==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==29808==    by 0x263C49: transcode (ffmpeg.c:4585)
==29808==    by 0x263C49: main (ffmpeg.c:4814)
==29808== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==29808== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==29808==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29808==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29808==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29808==    by 0x5B11F5: build_table (bitstream.c:168)
==29808==    by 0x5B14D5: build_table (bitstream.c:223)
==29808==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29808==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==29808==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==29808==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29808==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==29808==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==29808==    by 0x263C49: transcode (ffmpeg.c:4585)
==29808==    by 0x263C49: main (ffmpeg.c:4814)
==29808== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==29808== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==29808==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29808==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29808==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29808==    by 0x5B11F5: build_table (bitstream.c:168)
==29808==    by 0x5B14D5: build_table (bitstream.c:223)
==29808==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29808==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==29808==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==29808==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29808==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==29808==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==29808==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==29808==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==29808==    by 0x263BAD: main (ffmpeg.c:4787)
==29808== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==29808== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==29808==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29808==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29808==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29808==    by 0x5B11F5: build_table (bitstream.c:168)
==29808==    by 0x5B14D5: build_table (bitstream.c:223)
==29808==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29808==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==29808==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==29808==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29808==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==29808==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==29808==    by 0x263C49: transcode (ffmpeg.c:4585)
==29808==    by 0x263C49: main (ffmpeg.c:4814)
==29808== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==29808== LEAK SUMMARY:
==29808==    definitely lost: 110,592 bytes in 28 blocks
==29808==    indirectly lost: 0 bytes in 0 blocks
==29808==      possibly lost: 0 bytes in 0 blocks
==29808==    still reachable: 0 bytes in 0 blocks
==29808==         suppressed: 0 bytes in 0 blocks
==29808== 
==29808== For counts of detected and suppressed errors, rerun with: -v
==29808== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrlavf-mkv1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/lavf/mkv	2017-03-24 21:02:53.646379831 +0000
+++ tests/data/fate/lavf-mkv	2018-04-03 13:27:55.816142321 +0000
@@ -1,6 +1,2 @@
 7c8697c324e8ad79c5ea14364a6c39b8 *./tests/data/lavf/lavf.mkv
 472759 ./tests/data/lavf/lavf.mkv
-./tests/data/lavf/lavf.mkv CRC=0xec6c3c68
-9767a3b526d7e56d7400164cb888990c *./tests/data/lavf/lavf.mkv
-320603 ./tests/data/lavf/lavf.mkv
-./tests/data/lavf/lavf.mkv CRC=0xec6c3c68
==29677== Memcheck, a memory error detector
==29677== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==29677== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==29677== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -y -cpuflags all -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -f image2 -vcodec pgmyuv -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/vsynth1/%02d.pgm -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -ar 44100 -f s16le -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/asynth1.sw -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -dct fastint -metadata title=lavftest -b:a 64k -t 1 -qscale:v 10 -acodec mp2 -ab 64k -vcodec mpeg4 -attach /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/vsynth1/00.pgm -metadata:s:t mimetype=image/x-portable-greymap -threads 1 /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.mkv
==29677== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, image2, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/vsynth1/%02d.pgm':
  Duration: 00:00:02.00, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: pgmyuv, yuv420p, 352x288, 25 fps, 25 tbr, 25 tbn, 25 tbc
[s16le @ 0x774fb00] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #1.0 : mono
Input #1, s16le, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/asynth1.sw':
  Duration: 00:00:12.00, bitrate: 705 kb/s
    Stream #1:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Codec AVOption idct (select IDCT implementation) specified for input file #1 (/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/asynth1.sw) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some decoder which was not actually used for any stream.
Stream mapping:
  Stream #0:0 -> #0:0 (pgmyuv (native) -> mpeg4 (native))
  Stream #1:0 -> #0:1 (pcm_s16le (native) -> mp2 (native))
  File /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/vsynth1/00.pgm -> Stream #0:2
[image2 @ 0x710de40] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
Output #0, matroska, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.mkv':
  Metadata:
    title           : lavftest
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p(progressive), 352x288, q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 44100 Hz, mono, s16, 64 kb/s
    Metadata:
      encoder         : Lavc mp2
    Stream #0:2: Attachment: none
    Metadata:
      filename        : 00.pgm
      mimetype        : image/x-portable-greymap
frame=   25 fps=0.5 q=10.0 Lsize=     462kB time=00:00:01.00 bitrate=3752.1kbits/s speed=0.0211x    
video:304kB audio:8kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 48.105598%
==29677== 
==29677== HEAP SUMMARY:
==29677==     in use at exit: 0 bytes in 0 blocks
==29677==   total heap usage: 7,597 allocs, 7,597 frees, 12,603,776 bytes allocated
==29677== 
==29677== All heap blocks were freed -- no leaks are possible
==29677== 
==29677== For counts of detected and suppressed errors, rerun with: -v
==29677== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==30527== Memcheck, a memory error detector
==30527== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==30527== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==30527== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -y -cpuflags all -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.mkv -f crc /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/mkv.lavf.crc
==30527== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[mpeg4 @ 0x7130900] Failed to parse extradata
[matroska,webm @ 0x70f2e40] Could not find codec parameters for stream 2 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, matroska,webm, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.mkv':
  Metadata:
    title           : lavftest
    encoder         : Lavf
  Duration: 00:00:01.02, start: 0.000000, bitrate: 3711 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p(progressive), 352x288 [SAR 1:1 DAR 11:9], 25 fps, 25 tbr, 1k tbn, 25 tbc (default)
    Metadata:
      ENCODER         : Lavc mpeg4
      DURATION        : 00:00:01.011000000
    Stream #0:1: Audio: mp2, 44100 Hz, mono, s16p, 64 kb/s (default)
    Metadata:
      ENCODER         : Lavc mp2
      DURATION        : 00:00:01.019000000
    Stream #0:2: Attachment: none
    Metadata:
      filename        : 00.pgm
      mimetype        : image/x-portable-greymap
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
  Stream #0:1 -> #0:1 (mp2 (native) -> pcm_s16le (native))
Output #0, crc, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/mkv.lavf.crc':
  Metadata:
    title           : lavftest
    encoder         : Lavf58.10.100
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      DURATION        : 00:00:01.011000000
      encoder         : Lavc58.17.100 rawvideo
    Stream #0:1: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s (default)
    Metadata:
      DURATION        : 00:00:01.019000000
      encoder         : Lavc58.17.100 pcm_s16le
frame=   25 fps=0.0 q=-0.0 Lsize=       0kB time=00:00:01.01 bitrate=   0.1kbits/s speed=1.32x    
video:3712kB audio:88kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==30527== 
==30527== HEAP SUMMARY:
==30527==     in use at exit: 110,592 bytes in 28 blocks
==30527==   total heap usage: 5,471 allocs, 5,443 frees, 8,727,712 bytes allocated
==30527== 
==30527== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==30527==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==30527==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==30527==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30527==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30527==    by 0x5B11F5: build_table (bitstream.c:168)
==30527==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30527==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==30527==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==30527==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30527==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==30527==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==30527==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==30527==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==30527==    by 0x263BAD: main (ffmpeg.c:4787)
==30527== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==30527== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==30527==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==30527==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==30527==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30527==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30527==    by 0x5B11F5: build_table (bitstream.c:168)
==30527==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30527==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==30527==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==30527==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30527==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==30527==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==30527==    by 0x263C49: transcode (ffmpeg.c:4585)
==30527==    by 0x263C49: main (ffmpeg.c:4814)
==30527== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==30527== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==30527==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==30527==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30527==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30527==    by 0x5B11F5: build_table (bitstream.c:168)
==30527==    by 0x5B14D5: build_table (bitstream.c:223)
==30527==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30527==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==30527==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==30527==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30527==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==30527==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==30527==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==30527==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==30527==    by 0x263BAD: main (ffmpeg.c:4787)
==30527== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==30527== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==30527==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==30527==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30527==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30527==    by 0x5B11F5: build_table (bitstream.c:168)
==30527==    by 0x5B14D5: build_table (bitstream.c:223)
==30527==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30527==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==30527==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==30527==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30527==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==30527==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==30527==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==30527==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==30527==    by 0x263BAD: main (ffmpeg.c:4787)
==30527== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==30527== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==30527==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==30527==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30527==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30527==    by 0x5B11F5: build_table (bitstream.c:168)
==30527==    by 0x5B14D5: build_table (bitstream.c:223)
==30527==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30527==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==30527==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==30527==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30527==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==30527==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==30527==    by 0x263C49: transcode (ffmpeg.c:4585)
==30527==    by 0x263C49: main (ffmpeg.c:4814)
==30527== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==30527== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==30527==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==30527==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30527==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30527==    by 0x5B11F5: build_table (bitstream.c:168)
==30527==    by 0x5B14D5: build_table (bitstream.c:223)
==30527==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30527==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==30527==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==30527==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30527==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==30527==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==30527==    by 0x263C49: transcode (ffmpeg.c:4585)
==30527==    by 0x263C49: main (ffmpeg.c:4814)
==30527== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==30527== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==30527==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==30527==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30527==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30527==    by 0x5B11F5: build_table (bitstream.c:168)
==30527==    by 0x5B14D5: build_table (bitstream.c:223)
==30527==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30527==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==30527==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==30527==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30527==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==30527==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==30527==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==30527==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==30527==    by 0x263BAD: main (ffmpeg.c:4787)
==30527== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==30527== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==30527==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==30527==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30527==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30527==    by 0x5B11F5: build_table (bitstream.c:168)
==30527==    by 0x5B14D5: build_table (bitstream.c:223)
==30527==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30527==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==30527==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==30527==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30527==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==30527==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==30527==    by 0x263C49: transcode (ffmpeg.c:4585)
==30527==    by 0x263C49: main (ffmpeg.c:4814)
==30527== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==30527== LEAK SUMMARY:
==30527==    definitely lost: 110,592 bytes in 28 blocks
==30527==    indirectly lost: 0 bytes in 0 blocks
==30527==      possibly lost: 0 bytes in 0 blocks
==30527==    still reachable: 0 bytes in 0 blocks
==30527==         suppressed: 0 bytes in 0 blocks
==30527== 
==30527== For counts of detected and suppressed errors, rerun with: -v
==30527== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrlavf-mov1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/lavf/mov	2017-03-24 21:02:53.646379831 +0000
+++ tests/data/fate/lavf-mov	2018-04-03 13:27:12.286170255 +0000
@@ -1,21 +1,2 @@
 a10d50f2679df92264e1fc21cb8be630 *./tests/data/lavf/lavf.mov
 366449 ./tests/data/lavf/lavf.mov
-./tests/data/lavf/lavf.mov CRC=0xbb2b949b
-6258f70f974e3c802e01d02ac33c7bbd *./tests/data/lavf/lavf.mov
-357539 ./tests/data/lavf/lavf.mov
-./tests/data/lavf/lavf.mov CRC=0xbb2b949b
-ba3b8b49e420510a0d417400dbedfc2d *./tests/data/lavf/lavf.mov
-366621 ./tests/data/lavf/lavf.mov
-./tests/data/lavf/lavf.mov CRC=0xa9793231
-fd0e4de8e7f6d0c8c0681d7020f00f50 *./tests/data/lavf/lavf.mov
-356921 ./tests/data/lavf/lavf.mov
-./tests/data/lavf/lavf.mov CRC=0xbb2b949b
-ebca72c186a4f3ba9bb17d9cb5b74fef *./tests/data/lavf/lavf.mp4
-312457 ./tests/data/lavf/lavf.mp4
-./tests/data/lavf/lavf.mp4 CRC=0x9d9a638a
-9944512475d82d2d601f3c96101bdf9c *./tests/data/lavf/lavf.mp4
-321343 ./tests/data/lavf/lavf.mp4
-./tests/data/lavf/lavf.mp4 CRC=0xe8130120
-7b3e71f294901067046c09f03a426bdc *./tests/data/lavf/lavf.mp4
-312001 ./tests/data/lavf/lavf.mp4
-./tests/data/lavf/lavf.mp4 CRC=0x9d9a638a
==29749== Memcheck, a memory error detector
==29749== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==29749== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==29749== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -y -cpuflags all -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -f image2 -vcodec pgmyuv -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/vsynth1/%02d.pgm -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -ar 44100 -f s16le -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/asynth1.sw -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -dct fastint -metadata title=lavftest -b:a 64k -t 1 -qscale:v 10 -movflags +rtphint -acodec pcm_alaw -vcodec mpeg4 -threads 1 /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.mov
==29749== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, image2, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/vsynth1/%02d.pgm':
  Duration: 00:00:02.00, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: pgmyuv, yuv420p, 352x288, 25 fps, 25 tbr, 25 tbn, 25 tbc
[s16le @ 0x774f880] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #1.0 : mono
Input #1, s16le, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/asynth1.sw':
  Duration: 00:00:12.00, bitrate: 705 kb/s
    Stream #1:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Codec AVOption idct (select IDCT implementation) specified for input file #1 (/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/asynth1.sw) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some decoder which was not actually used for any stream.
Stream mapping:
  Stream #0:0 -> #0:0 (pgmyuv (native) -> mpeg4 (native))
  Stream #1:0 -> #0:1 (pcm_s16le (native) -> pcm_alaw (native))
[image2 @ 0x710dc00] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
Output #0, mov, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.mov':
  Metadata:
    title           : lavftest
    Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p(progressive), 352x288, q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: pcm_alaw (alaw / 0x77616C61), 44100 Hz, mono, s16, 352 kb/s
    Metadata:
      encoder         : Lavc pcm_alaw
frame=   25 fps= 21 q=10.0 Lsize=     358kB time=00:00:01.00 bitrate=2931.6kbits/s speed=0.852x    
video:304kB audio:43kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.180310%
==29749== 
==29749== HEAP SUMMARY:
==29749==     in use at exit: 0 bytes in 0 blocks
==29749==   total heap usage: 7,908 allocs, 7,908 frees, 11,984,165 bytes allocated
==29749== 
==29749== All heap blocks were freed -- no leaks are possible
==29749== 
==29749== For counts of detected and suppressed errors, rerun with: -v
==29749== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==29803== Memcheck, a memory error detector
==29803== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==29803== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==29803== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -y -cpuflags all -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.mov -f crc /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/mov.lavf.crc
==29803== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    title           : lavftest
  Duration: 00:00:01.00, start: 0.000000, bitrate: 2931 kb/s
    Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 2488 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
    Metadata:
      handler_name    : DataHandler
      encoder         : Lavc mpeg4
    Stream #0:1(eng): Audio: pcm_alaw (alaw / 0x77616C61), 44100 Hz, mono, s16, 352 kb/s (default)
    Metadata:
      handler_name    : DataHandler
    Stream #0:2(eng): Data: none (rtp  / 0x20707472), 54 kb/s
    Metadata:
      handler_name    : HintHandler
    Stream #0:3(eng): Data: none (rtp  / 0x20707472), 11 kb/s
    Metadata:
      handler_name    : HintHandler
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
  Stream #0:1 -> #0:1 (pcm_alaw (native) -> pcm_s16le (native))
Output #0, crc, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/mov.lavf.crc':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    title           : lavftest
    encoder         : Lavf58.10.100
    Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449), yuv420p(progressive), 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      handler_name    : DataHandler
      encoder         : Lavc58.17.100 rawvideo
    Stream #0:1(eng): Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s (default)
    Metadata:
      handler_name    : DataHandler
      encoder         : Lavc58.17.100 pcm_s16le
frame=   25 fps=0.0 q=-0.0 Lsize=       0kB time=00:00:01.00 bitrate=   0.1kbits/s speed=1.33x    
video:3712kB audio:86kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==29803== 
==29803== HEAP SUMMARY:
==29803==     in use at exit: 110,592 bytes in 28 blocks
==29803==   total heap usage: 4,725 allocs, 4,697 frees, 6,380,962 bytes allocated
==29803== 
==29803== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==29803==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==29803==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==29803==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29803==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29803==    by 0x5B11F5: build_table (bitstream.c:168)
==29803==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29803==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==29803==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==29803==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29803==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==29803==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==29803==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==29803==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==29803==    by 0x263BAD: main (ffmpeg.c:4787)
==29803== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==29803== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==29803==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==29803==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==29803==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29803==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29803==    by 0x5B11F5: build_table (bitstream.c:168)
==29803==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29803==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==29803==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==29803==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29803==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==29803==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==29803==    by 0x263C49: transcode (ffmpeg.c:4585)
==29803==    by 0x263C49: main (ffmpeg.c:4814)
==29803== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==29803== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==29803==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29803==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29803==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29803==    by 0x5B11F5: build_table (bitstream.c:168)
==29803==    by 0x5B14D5: build_table (bitstream.c:223)
==29803==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29803==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==29803==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==29803==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29803==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==29803==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==29803==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==29803==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==29803==    by 0x263BAD: main (ffmpeg.c:4787)
==29803== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==29803== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==29803==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29803==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29803==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29803==    by 0x5B11F5: build_table (bitstream.c:168)
==29803==    by 0x5B14D5: build_table (bitstream.c:223)
==29803==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29803==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==29803==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==29803==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29803==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==29803==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==29803==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==29803==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==29803==    by 0x263BAD: main (ffmpeg.c:4787)
==29803== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==29803== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==29803==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29803==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29803==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29803==    by 0x5B11F5: build_table (bitstream.c:168)
==29803==    by 0x5B14D5: build_table (bitstream.c:223)
==29803==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29803==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==29803==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==29803==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29803==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==29803==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==29803==    by 0x263C49: transcode (ffmpeg.c:4585)
==29803==    by 0x263C49: main (ffmpeg.c:4814)
==29803== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==29803== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==29803==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29803==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29803==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29803==    by 0x5B11F5: build_table (bitstream.c:168)
==29803==    by 0x5B14D5: build_table (bitstream.c:223)
==29803==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29803==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==29803==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==29803==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29803==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==29803==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==29803==    by 0x263C49: transcode (ffmpeg.c:4585)
==29803==    by 0x263C49: main (ffmpeg.c:4814)
==29803== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==29803== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==29803==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29803==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29803==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29803==    by 0x5B11F5: build_table (bitstream.c:168)
==29803==    by 0x5B14D5: build_table (bitstream.c:223)
==29803==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29803==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==29803==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==29803==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29803==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==29803==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==29803==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==29803==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==29803==    by 0x263BAD: main (ffmpeg.c:4787)
==29803== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==29803== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==29803==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==29803==    by 0xEDE21E: av_realloc_f (mem.c:157)
==29803==    by 0x5B11F5: alloc_table (bitstream.c:119)
==29803==    by 0x5B11F5: build_table (bitstream.c:168)
==29803==    by 0x5B14D5: build_table (bitstream.c:223)
==29803==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==29803==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==29803==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==29803==    by 0x8FE373: avcodec_open2 (utils.c:920)
==29803==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==29803==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==29803==    by 0x263C49: transcode (ffmpeg.c:4585)
==29803==    by 0x263C49: main (ffmpeg.c:4814)
==29803== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==29803== LEAK SUMMARY:
==29803==    definitely lost: 110,592 bytes in 28 blocks
==29803==    indirectly lost: 0 bytes in 0 blocks
==29803==      possibly lost: 0 bytes in 0 blocks
==29803==    still reachable: 0 bytes in 0 blocks
==29803==         suppressed: 0 bytes in 0 blocks
==29803== 
==29803== For counts of detected and suppressed errors, rerun with: -v
==29803== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrlavf-nut1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/lavf/nut	2017-03-24 21:02:53.646379831 +0000
+++ tests/data/fate/lavf-nut	2018-04-03 13:27:30.306158689 +0000
@@ -1,3 +1,2 @@
 424e8037d7b6f3d3c09cf76bf06a63cb *./tests/data/lavf/lavf.nut
 319958 ./tests/data/lavf/lavf.nut
-./tests/data/lavf/lavf.nut CRC=0xec6c3c68
==30076== Memcheck, a memory error detector
==30076== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==30076== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==30076== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -y -cpuflags all -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -f image2 -vcodec pgmyuv -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/vsynth1/%02d.pgm -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -ar 44100 -f s16le -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/asynth1.sw -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -dct fastint -metadata title=lavftest -b:a 64k -t 1 -qscale:v 10 -acodec mp2 -ab 64k -ar 44100 -threads 1 /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.nut
==30076== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, image2, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/vsynth1/%02d.pgm':
  Duration: 00:00:02.00, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: pgmyuv, yuv420p, 352x288, 25 fps, 25 tbr, 25 tbn, 25 tbc
[s16le @ 0x774f940] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #1.0 : mono
Input #1, s16le, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/asynth1.sw':
  Duration: 00:00:12.00, bitrate: 705 kb/s
    Stream #1:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Codec AVOption idct (select IDCT implementation) specified for input file #1 (/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/asynth1.sw) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some decoder which was not actually used for any stream.
Stream mapping:
  Stream #0:0 -> #0:0 (pgmyuv (native) -> mpeg4 (native))
  Stream #1:0 -> #0:1 (pcm_s16le (native) -> mp2 (native))
[image2 @ 0x710dc40] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
Output #0, nut, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.nut':
  Metadata:
    title           : lavftest
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p(progressive), 352x288, q=2-31, 200 kb/s, 25 fps, 51200 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 44100 Hz, mono, s16, 64 kb/s
    Metadata:
      encoder         : Lavc mp2
frame=   25 fps= 21 q=10.0 Lsize=     312kB time=00:00:01.00 bitrate=2539.7kbits/s speed=0.828x    
video:304kB audio:8kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.236213%
==30076== 
==30076== HEAP SUMMARY:
==30076==     in use at exit: 0 bytes in 0 blocks
==30076==   total heap usage: 7,479 allocs, 7,479 frees, 10,378,164 bytes allocated
==30076== 
==30076== All heap blocks were freed -- no leaks are possible
==30076== 
==30076== For counts of detected and suppressed errors, rerun with: -v
==30076== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==30083== Memcheck, a memory error detector
==30083== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==30083== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==30083== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -y -cpuflags all -flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact -threads 1 -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.nut -f crc /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/nut.lavf.crc
==30083== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, nut, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/lavf/lavf.nut':
  Metadata:
    title           : lavftest
  Duration: 00:00:00.99, start: 0.000000, bitrate: 2578 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 25 tbr, 51200 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 44100 Hz, mono, s16p, 64 kb/s
    Metadata:
      encoder         : Lavc mp2
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
  Stream #0:1 -> #0:1 (mp2 (native) -> pcm_s16le (native))
Output #0, crc, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/./tests/data/nut.lavf.crc':
  Metadata:
    title           : lavftest
    encoder         : Lavf58.10.100
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.17.100 rawvideo
    Stream #0:1: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
    Metadata:
      encoder         : Lavc58.17.100 pcm_s16le
frame=   25 fps=0.0 q=-0.0 Lsize=       0kB time=00:00:01.01 bitrate=   0.1kbits/s speed=1.31x    
video:3712kB audio:88kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==30083== 
==30083== HEAP SUMMARY:
==30083==     in use at exit: 110,592 bytes in 28 blocks
==30083==   total heap usage: 4,666 allocs, 4,638 frees, 6,358,023 bytes allocated
==30083== 
==30083== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==30083==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==30083==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==30083==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30083==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30083==    by 0x5B11F5: build_table (bitstream.c:168)
==30083==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30083==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==30083==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==30083==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30083==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==30083==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==30083==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==30083==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==30083==    by 0x263BAD: main (ffmpeg.c:4787)
==30083== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==30083== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==30083==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==30083==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==30083==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30083==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30083==    by 0x5B11F5: build_table (bitstream.c:168)
==30083==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30083==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==30083==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==30083==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30083==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==30083==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==30083==    by 0x263C49: transcode (ffmpeg.c:4585)
==30083==    by 0x263C49: main (ffmpeg.c:4814)
==30083== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==30083== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==30083==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==30083==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30083==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30083==    by 0x5B11F5: build_table (bitstream.c:168)
==30083==    by 0x5B14D5: build_table (bitstream.c:223)
==30083==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30083==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==30083==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==30083==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30083==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==30083==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==30083==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==30083==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==30083==    by 0x263BAD: main (ffmpeg.c:4787)
==30083== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==30083== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==30083==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==30083==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30083==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30083==    by 0x5B11F5: build_table (bitstream.c:168)
==30083==    by 0x5B14D5: build_table (bitstream.c:223)
==30083==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30083==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==30083==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==30083==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30083==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==30083==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==30083==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==30083==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==30083==    by 0x263BAD: main (ffmpeg.c:4787)
==30083== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==30083== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==30083==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==30083==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30083==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30083==    by 0x5B11F5: build_table (bitstream.c:168)
==30083==    by 0x5B14D5: build_table (bitstream.c:223)
==30083==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30083==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==30083==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==30083==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30083==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==30083==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==30083==    by 0x263C49: transcode (ffmpeg.c:4585)
==30083==    by 0x263C49: main (ffmpeg.c:4814)
==30083== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==30083== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==30083==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==30083==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30083==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30083==    by 0x5B11F5: build_table (bitstream.c:168)
==30083==    by 0x5B14D5: build_table (bitstream.c:223)
==30083==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30083==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==30083==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==30083==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30083==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==30083==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==30083==    by 0x263C49: transcode (ffmpeg.c:4585)
==30083==    by 0x263C49: main (ffmpeg.c:4814)
==30083== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==30083== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==30083==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==30083==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30083==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30083==    by 0x5B11F5: build_table (bitstream.c:168)
==30083==    by 0x5B14D5: build_table (bitstream.c:223)
==30083==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30083==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==30083==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==30083==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30083==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==30083==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==30083==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==30083==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==30083==    by 0x263BAD: main (ffmpeg.c:4787)
==30083== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==30083== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==30083==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==30083==    by 0xEDE21E: av_realloc_f (mem.c:157)
==30083==    by 0x5B11F5: alloc_table (bitstream.c:119)
==30083==    by 0x5B11F5: build_table (bitstream.c:168)
==30083==    by 0x5B14D5: build_table (bitstream.c:223)
==30083==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==30083==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==30083==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==30083==    by 0x8FE373: avcodec_open2 (utils.c:920)
==30083==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==30083==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==30083==    by 0x263C49: transcode (ffmpeg.c:4585)
==30083==    by 0x263C49: main (ffmpeg.c:4814)
==30083== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==30083== LEAK SUMMARY:
==30083==    definitely lost: 110,592 bytes in 28 blocks
==30083==    indirectly lost: 0 bytes in 0 blocks
==30083==      possibly lost: 0 bytes in 0 blocks
==30083==    still reachable: 0 bytes in 0 blocks
==30083==         suppressed: 0 bytes in 0 blocks
==30083== 
==30083== For counts of detected and suppressed errors, rerun with: -v
==30083== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrlmlm4-demux1N-101748-g797c2ecc8f
No diff output recorded
==12859== Memcheck, a memory error detector
==12859== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==12859== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==12859== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/lmlm4/LMLM4_CIFat30fps.divx -t 3 -c:a copy -c:v copy -bitexact -f framecrc -
==12859== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, lmlm4, from '/home/fate/fate-suite/lmlm4/LMLM4_CIFat30fps.divx':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 29.97 fps, 29.97 tbr, 29.97 tbn, 30k tbc
    Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16p, 256 kb/s
Output #0, framecrc, to 'pipe:':
    Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16p, 256 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
[framecrc @ 0x71fd800] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
frame=   90 fps=0.0 q=-1.0 Lsize=      14kB time=00:00:03.00 bitrate=  37.9kbits/s speed=67.6x    
video:136kB audio:94kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==12859== 
==12859== HEAP SUMMARY:
==12859==     in use at exit: 55,296 bytes in 14 blocks
==12859==   total heap usage: 3,049 allocs, 3,035 frees, 1,194,270 bytes allocated
==12859== 
==12859== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 4
==12859==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==12859==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==12859==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12859==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12859==    by 0x5B11F5: build_table (bitstream.c:168)
==12859==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12859==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==12859==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==12859==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12859==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12859==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12859==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12859==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12859==    by 0x263BAD: main (ffmpeg.c:4787)
==12859== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12859== 4,096 bytes in 1 blocks are definitely lost in loss record 2 of 4
==12859==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==12859==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12859==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12859==    by 0x5B11F5: build_table (bitstream.c:168)
==12859==    by 0x5B14D5: build_table (bitstream.c:223)
==12859==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12859==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==12859==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==12859==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12859==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12859==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12859==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12859==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12859==    by 0x263BAD: main (ffmpeg.c:4787)
==12859== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12859== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 4
==12859==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==12859==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12859==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12859==    by 0x5B11F5: build_table (bitstream.c:168)
==12859==    by 0x5B14D5: build_table (bitstream.c:223)
==12859==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12859==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==12859==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==12859==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12859==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12859==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12859==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12859==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12859==    by 0x263BAD: main (ffmpeg.c:4787)
==12859== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12859== 45,056 bytes in 11 blocks are definitely lost in loss record 4 of 4
==12859==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==12859==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12859==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12859==    by 0x5B11F5: build_table (bitstream.c:168)
==12859==    by 0x5B14D5: build_table (bitstream.c:223)
==12859==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12859==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==12859==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==12859==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12859==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12859==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12859==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12859==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12859==    by 0x263BAD: main (ffmpeg.c:4787)
==12859== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12859== LEAK SUMMARY:
==12859==    definitely lost: 55,296 bytes in 14 blocks
==12859==    indirectly lost: 0 bytes in 0 blocks
==12859==      possibly lost: 0 bytes in 0 blocks
==12859==    still reachable: 0 bytes in 0 blocks
==12859==         suppressed: 0 bytes in 0 blocks
==12859== 
==12859== For counts of detected and suppressed errors, rerun with: -v
==12859== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
diffstderrm4v1N-101748-g797c2ecc8f
No diff output recorded
==32631== Memcheck, a memory error detector
==32631== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==32631== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==32631== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -flags +bitexact -idct simple -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/mpeg4/demo.m4v -bitexact -f framecrc -
==32631== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[mpeg4 @ 0x7130840] time_increment_bits 3 is invalid in relation to the current bitstream, this is likely caused by a missing VOL header
[mpeg4 @ 0x7130840] time_increment_bits set to 15 bits, based on bitstream analysis
[mpeg4 @ 0x7130840] time_increment_bits 3 is invalid in relation to the current bitstream, this is likely caused by a missing VOL header
[mpeg4 @ 0x7130840] time_increment_bits set to 15 bits, based on bitstream analysis
Input #0, m4v, from '/home/fate/fate-suite/mpeg4/demo.m4v':
  Duration: N/A, start: 1.000000, bitrate: N/A
    Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 60 tbr, 1200k tbn, 32768 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
[mpeg4 @ 0x734ccc0] time_increment_bits 3 is invalid in relation to the current bitstream, this is likely caused by a missing VOL header
[mpeg4 @ 0x734ccc0] time_increment_bits set to 15 bits, based on bitstream analysis
Output #0, framecrc, to 'pipe:':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 55296 kb/s, 60 fps, 60 tbn, 60 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   42 fps=0.0 q=-0.0 Lsize=       2kB time=00:00:08.20 bitrate=   2.5kbits/s speed=11.5x    
video:4725kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==32631== 
==32631== HEAP SUMMARY:
==32631==     in use at exit: 110,592 bytes in 28 blocks
==32631==   total heap usage: 8,212 allocs, 8,184 frees, 9,458,980 bytes allocated
==32631== 
==32631== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==32631==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32631==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32631==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32631==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32631==    by 0x5B11F5: build_table (bitstream.c:168)
==32631==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32631==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32631==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32631==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32631==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32631==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32631==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32631==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32631==    by 0x263BAD: main (ffmpeg.c:4787)
==32631== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32631== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==32631==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32631==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32631==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32631==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32631==    by 0x5B11F5: build_table (bitstream.c:168)
==32631==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32631==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32631==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32631==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32631==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32631==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32631==    by 0x263C49: transcode (ffmpeg.c:4585)
==32631==    by 0x263C49: main (ffmpeg.c:4814)
==32631== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32631== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==32631==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32631==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32631==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32631==    by 0x5B11F5: build_table (bitstream.c:168)
==32631==    by 0x5B14D5: build_table (bitstream.c:223)
==32631==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32631==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32631==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32631==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32631==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32631==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32631==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32631==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32631==    by 0x263BAD: main (ffmpeg.c:4787)
==32631== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32631== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==32631==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32631==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32631==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32631==    by 0x5B11F5: build_table (bitstream.c:168)
==32631==    by 0x5B14D5: build_table (bitstream.c:223)
==32631==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32631==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32631==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32631==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32631==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32631==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32631==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32631==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32631==    by 0x263BAD: main (ffmpeg.c:4787)
==32631== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32631== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==32631==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32631==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32631==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32631==    by 0x5B11F5: build_table (bitstream.c:168)
==32631==    by 0x5B14D5: build_table (bitstream.c:223)
==32631==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32631==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32631==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32631==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32631==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32631==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32631==    by 0x263C49: transcode (ffmpeg.c:4585)
==32631==    by 0x263C49: main (ffmpeg.c:4814)
==32631== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32631== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==32631==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32631==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32631==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32631==    by 0x5B11F5: build_table (bitstream.c:168)
==32631==    by 0x5B14D5: build_table (bitstream.c:223)
==32631==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32631==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32631==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32631==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32631==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32631==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32631==    by 0x263C49: transcode (ffmpeg.c:4585)
==32631==    by 0x263C49: main (ffmpeg.c:4814)
==32631== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32631== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==32631==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32631==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32631==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32631==    by 0x5B11F5: build_table (bitstream.c:168)
==32631==    by 0x5B14D5: build_table (bitstream.c:223)
==32631==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32631==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32631==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32631==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32631==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32631==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32631==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32631==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32631==    by 0x263BAD: main (ffmpeg.c:4787)
==32631== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32631== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==32631==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32631==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32631==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32631==    by 0x5B11F5: build_table (bitstream.c:168)
==32631==    by 0x5B14D5: build_table (bitstream.c:223)
==32631==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32631==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32631==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32631==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32631==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32631==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32631==    by 0x263C49: transcode (ffmpeg.c:4585)
==32631==    by 0x263C49: main (ffmpeg.c:4814)
==32631== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32631== LEAK SUMMARY:
==32631==    definitely lost: 110,592 bytes in 28 blocks
==32631==    indirectly lost: 0 bytes in 0 blocks
==32631==      possibly lost: 0 bytes in 0 blocks
==32631==    still reachable: 0 bytes in 0 blocks
==32631==         suppressed: 0 bytes in 0 blocks
==32631== 
==32631== For counts of detected and suppressed errors, rerun with: -v
==32631== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrm4v-cfr1N-101748-g797c2ecc8f
No diff output recorded
==32655== Memcheck, a memory error detector
==32655== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==32655== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==32655== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -flags +bitexact -idct simple -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/mpeg4/demo.m4v -vf fps=5 -bitexact -f framecrc -
==32655== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[mpeg4 @ 0x7130880] time_increment_bits 3 is invalid in relation to the current bitstream, this is likely caused by a missing VOL header
[mpeg4 @ 0x7130880] time_increment_bits set to 15 bits, based on bitstream analysis
[mpeg4 @ 0x7130880] time_increment_bits 3 is invalid in relation to the current bitstream, this is likely caused by a missing VOL header
[mpeg4 @ 0x7130880] time_increment_bits set to 15 bits, based on bitstream analysis
Input #0, m4v, from '/home/fate/fate-suite/mpeg4/demo.m4v':
  Duration: N/A, start: 1.000000, bitrate: N/A
    Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 60 tbr, 1200k tbn, 32768 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
[mpeg4 @ 0x734cd00] time_increment_bits 3 is invalid in relation to the current bitstream, this is likely caused by a missing VOL header
[mpeg4 @ 0x734cd00] time_increment_bits set to 15 bits, based on bitstream analysis
Output #0, framecrc, to 'pipe:':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 4608 kb/s, 5 fps, 5 tbn, 5 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   41 fps=0.0 q=-0.0 Lsize=       2kB time=00:00:08.20 bitrate=   2.4kbits/s speed=11.4x    
video:4612kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==32655== 
==32655== HEAP SUMMARY:
==32655==     in use at exit: 110,592 bytes in 28 blocks
==32655==   total heap usage: 8,678 allocs, 8,650 frees, 9,523,953 bytes allocated
==32655== 
==32655== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==32655==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32655==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32655==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32655==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32655==    by 0x5B11F5: build_table (bitstream.c:168)
==32655==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32655==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32655==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32655==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32655==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32655==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32655==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32655==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32655==    by 0x263BAD: main (ffmpeg.c:4787)
==32655== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32655== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==32655==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32655==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32655==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32655==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32655==    by 0x5B11F5: build_table (bitstream.c:168)
==32655==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32655==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32655==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32655==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32655==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32655==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32655==    by 0x263C49: transcode (ffmpeg.c:4585)
==32655==    by 0x263C49: main (ffmpeg.c:4814)
==32655== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32655== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==32655==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32655==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32655==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32655==    by 0x5B11F5: build_table (bitstream.c:168)
==32655==    by 0x5B14D5: build_table (bitstream.c:223)
==32655==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32655==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32655==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32655==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32655==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32655==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32655==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32655==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32655==    by 0x263BAD: main (ffmpeg.c:4787)
==32655== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32655== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==32655==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32655==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32655==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32655==    by 0x5B11F5: build_table (bitstream.c:168)
==32655==    by 0x5B14D5: build_table (bitstream.c:223)
==32655==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32655==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32655==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32655==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32655==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32655==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32655==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32655==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32655==    by 0x263BAD: main (ffmpeg.c:4787)
==32655== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32655== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==32655==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32655==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32655==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32655==    by 0x5B11F5: build_table (bitstream.c:168)
==32655==    by 0x5B14D5: build_table (bitstream.c:223)
==32655==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32655==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32655==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32655==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32655==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32655==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32655==    by 0x263C49: transcode (ffmpeg.c:4585)
==32655==    by 0x263C49: main (ffmpeg.c:4814)
==32655== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32655== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==32655==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32655==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32655==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32655==    by 0x5B11F5: build_table (bitstream.c:168)
==32655==    by 0x5B14D5: build_table (bitstream.c:223)
==32655==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32655==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32655==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32655==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32655==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32655==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32655==    by 0x263C49: transcode (ffmpeg.c:4585)
==32655==    by 0x263C49: main (ffmpeg.c:4814)
==32655== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32655== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==32655==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32655==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32655==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32655==    by 0x5B11F5: build_table (bitstream.c:168)
==32655==    by 0x5B14D5: build_table (bitstream.c:223)
==32655==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32655==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32655==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32655==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32655==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32655==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32655==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32655==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32655==    by 0x263BAD: main (ffmpeg.c:4787)
==32655== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32655== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==32655==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32655==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32655==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32655==    by 0x5B11F5: build_table (bitstream.c:168)
==32655==    by 0x5B14D5: build_table (bitstream.c:223)
==32655==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32655==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32655==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32655==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32655==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32655==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32655==    by 0x263C49: transcode (ffmpeg.c:4585)
==32655==    by 0x263C49: main (ffmpeg.c:4814)
==32655== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32655== LEAK SUMMARY:
==32655==    definitely lost: 110,592 bytes in 28 blocks
==32655==    indirectly lost: 0 bytes in 0 blocks
==32655==      possibly lost: 0 bytes in 0 blocks
==32655==    still reachable: 0 bytes in 0 blocks
==32655==         suppressed: 0 bytes in 0 blocks
==32655== 
==32655== For counts of detected and suppressed errors, rerun with: -v
==32655== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrmov-invalid-elst-entry-count1N-101748-g797c2ecc8f
No diff output recorded
==32038== Memcheck, a memory error detector
==32038== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==32038== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==32038== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -idct simple -flags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/mov/invalid_elst_entry_count.mov -bitexact -f framemd5 -
==32038== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/fate/fate-suite/mov/invalid_elst_entry_count.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    encoder         : Google
  Duration: 00:00:02.00, start: 0.000000, bitrate: 861 kb/s
    Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 857 kb/s, 24 fps, 24 tbr, 12288 tbn, 24 tbc (default)
    Metadata:
      handler_name    : DataHandler
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, framemd5, to 'pipe:':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 88473 kb/s, 24 fps, 24 tbn, 24 tbc (default)
    Metadata:
      handler_name    : DataHandler
      encoder         : Lavc rawvideo
frame=   48 fps=0.0 q=-0.0 Lsize=       4kB time=00:00:02.00 bitrate=  16.1kbits/s speed=2.28x    
video:21600kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==32038== 
==32038== HEAP SUMMARY:
==32038==     in use at exit: 110,592 bytes in 28 blocks
==32038==   total heap usage: 5,230 allocs, 5,202 frees, 25,667,039 bytes allocated
==32038== 
==32038== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==32038==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32038==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32038==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32038==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32038==    by 0x5B11F5: build_table (bitstream.c:168)
==32038==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32038==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32038==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32038==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32038==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32038==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32038==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32038==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32038==    by 0x263BAD: main (ffmpeg.c:4787)
==32038== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32038== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==32038==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32038==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32038==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32038==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32038==    by 0x5B11F5: build_table (bitstream.c:168)
==32038==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32038==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32038==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32038==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32038==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32038==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32038==    by 0x263C49: transcode (ffmpeg.c:4585)
==32038==    by 0x263C49: main (ffmpeg.c:4814)
==32038== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32038== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==32038==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32038==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32038==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32038==    by 0x5B11F5: build_table (bitstream.c:168)
==32038==    by 0x5B14D5: build_table (bitstream.c:223)
==32038==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32038==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32038==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32038==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32038==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32038==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32038==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32038==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32038==    by 0x263BAD: main (ffmpeg.c:4787)
==32038== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32038== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==32038==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32038==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32038==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32038==    by 0x5B11F5: build_table (bitstream.c:168)
==32038==    by 0x5B14D5: build_table (bitstream.c:223)
==32038==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32038==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32038==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32038==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32038==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32038==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32038==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32038==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32038==    by 0x263BAD: main (ffmpeg.c:4787)
==32038== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32038== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==32038==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32038==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32038==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32038==    by 0x5B11F5: build_table (bitstream.c:168)
==32038==    by 0x5B14D5: build_table (bitstream.c:223)
==32038==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32038==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32038==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32038==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32038==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32038==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32038==    by 0x263C49: transcode (ffmpeg.c:4585)
==32038==    by 0x263C49: main (ffmpeg.c:4814)
==32038== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32038== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==32038==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32038==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32038==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32038==    by 0x5B11F5: build_table (bitstream.c:168)
==32038==    by 0x5B14D5: build_table (bitstream.c:223)
==32038==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32038==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32038==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32038==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32038==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32038==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32038==    by 0x263C49: transcode (ffmpeg.c:4585)
==32038==    by 0x263C49: main (ffmpeg.c:4814)
==32038== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32038== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==32038==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32038==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32038==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32038==    by 0x5B11F5: build_table (bitstream.c:168)
==32038==    by 0x5B14D5: build_table (bitstream.c:223)
==32038==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32038==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32038==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32038==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32038==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32038==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32038==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32038==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32038==    by 0x263BAD: main (ffmpeg.c:4787)
==32038== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32038== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==32038==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32038==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32038==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32038==    by 0x5B11F5: build_table (bitstream.c:168)
==32038==    by 0x5B14D5: build_table (bitstream.c:223)
==32038==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32038==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32038==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32038==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32038==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32038==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32038==    by 0x263C49: transcode (ffmpeg.c:4585)
==32038==    by 0x263C49: main (ffmpeg.c:4814)
==32038== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32038== LEAK SUMMARY:
==32038==    definitely lost: 110,592 bytes in 28 blocks
==32038==    indirectly lost: 0 bytes in 0 blocks
==32038==      possibly lost: 0 bytes in 0 blocks
==32038==    still reachable: 0 bytes in 0 blocks
==32038==         suppressed: 0 bytes in 0 blocks
==32038== 
==32038== For counts of detected and suppressed errors, rerun with: -v
==32038== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrmpeg4-packed1N-101748-g797c2ecc8f
No diff output recorded
==32618== Memcheck, a memory error detector
==32618== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==32618== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==32618== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -flags +bitexact -idct simple -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/mpeg4/packed_bframes.avi -flags +bitexact -fflags +bitexact -vsync 1 -bitexact -f framecrc -
==32618== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[mpeg4 @ 0x70f97c0] Failed to parse extradata
Input #0, avi, from '/home/fate/fate-suite/mpeg4/packed_bframes.avi':
  Metadata:
    encoder         : Lavf56.25.101
  Duration: 00:00:00.50, start: 0.000000, bitrate: 998 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 544x352 [SAR 1:1 DAR 17:11], 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
[mpeg4 @ 0x7164e40] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but stream copy to fix it.
Output #0, framecrc, to 'pipe:':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 544x352 [SAR 1:1 DAR 17:11], q=2-31, 68866 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   16 fps=0.0 q=-0.0 Lsize=       1kB time=00:00:00.53 bitrate=  15.3kbits/s dup=1 drop=0 speed=0.981x    
video:4488kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==32618== 
==32618== HEAP SUMMARY:
==32618==     in use at exit: 110,592 bytes in 28 blocks
==32618==   total heap usage: 2,701 allocs, 2,673 frees, 7,700,030 bytes allocated
==32618== 
==32618== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==32618==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32618==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32618==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32618==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32618==    by 0x5B11F5: build_table (bitstream.c:168)
==32618==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32618==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32618==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32618==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32618==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32618==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32618==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32618==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32618==    by 0x263BAD: main (ffmpeg.c:4787)
==32618== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32618== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==32618==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32618==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32618==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32618==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32618==    by 0x5B11F5: build_table (bitstream.c:168)
==32618==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32618==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32618==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32618==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32618==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32618==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32618==    by 0x263C49: transcode (ffmpeg.c:4585)
==32618==    by 0x263C49: main (ffmpeg.c:4814)
==32618== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32618== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==32618==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32618==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32618==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32618==    by 0x5B11F5: build_table (bitstream.c:168)
==32618==    by 0x5B14D5: build_table (bitstream.c:223)
==32618==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32618==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32618==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32618==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32618==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32618==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32618==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32618==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32618==    by 0x263BAD: main (ffmpeg.c:4787)
==32618== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32618== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==32618==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32618==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32618==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32618==    by 0x5B11F5: build_table (bitstream.c:168)
==32618==    by 0x5B14D5: build_table (bitstream.c:223)
==32618==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32618==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32618==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32618==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32618==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32618==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32618==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32618==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32618==    by 0x263BAD: main (ffmpeg.c:4787)
==32618== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32618== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==32618==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32618==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32618==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32618==    by 0x5B11F5: build_table (bitstream.c:168)
==32618==    by 0x5B14D5: build_table (bitstream.c:223)
==32618==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32618==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32618==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32618==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32618==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32618==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32618==    by 0x263C49: transcode (ffmpeg.c:4585)
==32618==    by 0x263C49: main (ffmpeg.c:4814)
==32618== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32618== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==32618==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32618==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32618==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32618==    by 0x5B11F5: build_table (bitstream.c:168)
==32618==    by 0x5B14D5: build_table (bitstream.c:223)
==32618==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32618==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32618==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32618==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32618==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32618==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32618==    by 0x263C49: transcode (ffmpeg.c:4585)
==32618==    by 0x263C49: main (ffmpeg.c:4814)
==32618== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32618== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==32618==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32618==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32618==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32618==    by 0x5B11F5: build_table (bitstream.c:168)
==32618==    by 0x5B14D5: build_table (bitstream.c:223)
==32618==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32618==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32618==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32618==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32618==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32618==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32618==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32618==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32618==    by 0x263BAD: main (ffmpeg.c:4787)
==32618== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32618== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==32618==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32618==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32618==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32618==    by 0x5B11F5: build_table (bitstream.c:168)
==32618==    by 0x5B14D5: build_table (bitstream.c:223)
==32618==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32618==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32618==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32618==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32618==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32618==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32618==    by 0x263C49: transcode (ffmpeg.c:4585)
==32618==    by 0x263C49: main (ffmpeg.c:4814)
==32618== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32618== LEAK SUMMARY:
==32618==    definitely lost: 110,592 bytes in 28 blocks
==32618==    indirectly lost: 0 bytes in 0 blocks
==32618==      possibly lost: 0 bytes in 0 blocks
==32618==    still reachable: 0 bytes in 0 blocks
==32618==         suppressed: 0 bytes in 0 blocks
==32618== 
==32618== For counts of detected and suppressed errors, rerun with: -v
==32618== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrmpeg4-resolution-change-down-down1N-101748-g797c2ecc8f
No diff output recorded
==32438== Memcheck, a memory error detector
==32438== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==32438== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==32438== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -flags +bitexact -idct simple -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/mpeg4/resize_down-down.h263 -sws_flags +bitexact -bitexact -f framemd5 -
==32438== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, m4v, from '/home/fate/fate-suite/mpeg4/resize_down-down.h263':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 1200k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, framemd5, to 'pipe:':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 92160 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=  150 fps= 38 q=-0.0 Lsize=      12kB time=00:00:06.00 bitrate=  16.3kbits/s speed=1.51x    
video:67500kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==32438== 
==32438== HEAP SUMMARY:
==32438==     in use at exit: 110,592 bytes in 28 blocks
==32438==   total heap usage: 19,721 allocs, 19,693 frees, 78,888,828 bytes allocated
==32438== 
==32438== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==32438==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32438==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32438==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32438==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32438==    by 0x5B11F5: build_table (bitstream.c:168)
==32438==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32438==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32438==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32438==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32438==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32438==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32438==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32438==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32438==    by 0x263BAD: main (ffmpeg.c:4787)
==32438== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32438== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==32438==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32438==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32438==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32438==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32438==    by 0x5B11F5: build_table (bitstream.c:168)
==32438==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32438==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32438==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32438==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32438==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32438==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32438==    by 0x263C49: transcode (ffmpeg.c:4585)
==32438==    by 0x263C49: main (ffmpeg.c:4814)
==32438== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32438== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==32438==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32438==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32438==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32438==    by 0x5B11F5: build_table (bitstream.c:168)
==32438==    by 0x5B14D5: build_table (bitstream.c:223)
==32438==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32438==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32438==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32438==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32438==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32438==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32438==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32438==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32438==    by 0x263BAD: main (ffmpeg.c:4787)
==32438== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32438== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==32438==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32438==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32438==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32438==    by 0x5B11F5: build_table (bitstream.c:168)
==32438==    by 0x5B14D5: build_table (bitstream.c:223)
==32438==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32438==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32438==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32438==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32438==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32438==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32438==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32438==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32438==    by 0x263BAD: main (ffmpeg.c:4787)
==32438== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32438== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==32438==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32438==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32438==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32438==    by 0x5B11F5: build_table (bitstream.c:168)
==32438==    by 0x5B14D5: build_table (bitstream.c:223)
==32438==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32438==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32438==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32438==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32438==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32438==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32438==    by 0x263C49: transcode (ffmpeg.c:4585)
==32438==    by 0x263C49: main (ffmpeg.c:4814)
==32438== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32438== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==32438==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32438==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32438==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32438==    by 0x5B11F5: build_table (bitstream.c:168)
==32438==    by 0x5B14D5: build_table (bitstream.c:223)
==32438==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32438==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32438==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32438==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32438==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32438==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32438==    by 0x263C49: transcode (ffmpeg.c:4585)
==32438==    by 0x263C49: main (ffmpeg.c:4814)
==32438== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32438== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==32438==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32438==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32438==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32438==    by 0x5B11F5: build_table (bitstream.c:168)
==32438==    by 0x5B14D5: build_table (bitstream.c:223)
==32438==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32438==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32438==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32438==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32438==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32438==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32438==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32438==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32438==    by 0x263BAD: main (ffmpeg.c:4787)
==32438== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32438== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==32438==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32438==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32438==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32438==    by 0x5B11F5: build_table (bitstream.c:168)
==32438==    by 0x5B14D5: build_table (bitstream.c:223)
==32438==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32438==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32438==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32438==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32438==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32438==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32438==    by 0x263C49: transcode (ffmpeg.c:4585)
==32438==    by 0x263C49: main (ffmpeg.c:4814)
==32438== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32438== LEAK SUMMARY:
==32438==    definitely lost: 110,592 bytes in 28 blocks
==32438==    indirectly lost: 0 bytes in 0 blocks
==32438==      possibly lost: 0 bytes in 0 blocks
==32438==    still reachable: 0 bytes in 0 blocks
==32438==         suppressed: 0 bytes in 0 blocks
==32438== 
==32438== For counts of detected and suppressed errors, rerun with: -v
==32438== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrmpeg4-resolution-change-down-up1N-101748-g797c2ecc8f
No diff output recorded
==32463== Memcheck, a memory error detector
==32463== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==32463== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==32463== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -flags +bitexact -idct simple -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/mpeg4/resize_down-up.h263 -sws_flags +bitexact -bitexact -f framemd5 -
==32463== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, m4v, from '/home/fate/fate-suite/mpeg4/resize_down-up.h263':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 1200k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, framemd5, to 'pipe:':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 92160 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=  150 fps= 38 q=-0.0 Lsize=      12kB time=00:00:06.00 bitrate=  16.3kbits/s speed=1.51x    
video:67500kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==32463== 
==32463== HEAP SUMMARY:
==32463==     in use at exit: 110,592 bytes in 28 blocks
==32463==   total heap usage: 19,721 allocs, 19,693 frees, 78,888,824 bytes allocated
==32463== 
==32463== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==32463==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32463==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32463==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32463==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32463==    by 0x5B11F5: build_table (bitstream.c:168)
==32463==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32463==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32463==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32463==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32463==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32463==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32463==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32463==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32463==    by 0x263BAD: main (ffmpeg.c:4787)
==32463== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32463== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==32463==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32463==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32463==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32463==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32463==    by 0x5B11F5: build_table (bitstream.c:168)
==32463==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32463==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32463==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32463==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32463==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32463==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32463==    by 0x263C49: transcode (ffmpeg.c:4585)
==32463==    by 0x263C49: main (ffmpeg.c:4814)
==32463== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32463== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==32463==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32463==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32463==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32463==    by 0x5B11F5: build_table (bitstream.c:168)
==32463==    by 0x5B14D5: build_table (bitstream.c:223)
==32463==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32463==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32463==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32463==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32463==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32463==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32463==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32463==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32463==    by 0x263BAD: main (ffmpeg.c:4787)
==32463== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32463== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==32463==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32463==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32463==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32463==    by 0x5B11F5: build_table (bitstream.c:168)
==32463==    by 0x5B14D5: build_table (bitstream.c:223)
==32463==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32463==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32463==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32463==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32463==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32463==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32463==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32463==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32463==    by 0x263BAD: main (ffmpeg.c:4787)
==32463== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32463== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==32463==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32463==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32463==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32463==    by 0x5B11F5: build_table (bitstream.c:168)
==32463==    by 0x5B14D5: build_table (bitstream.c:223)
==32463==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32463==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32463==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32463==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32463==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32463==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32463==    by 0x263C49: transcode (ffmpeg.c:4585)
==32463==    by 0x263C49: main (ffmpeg.c:4814)
==32463== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32463== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==32463==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32463==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32463==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32463==    by 0x5B11F5: build_table (bitstream.c:168)
==32463==    by 0x5B14D5: build_table (bitstream.c:223)
==32463==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32463==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32463==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32463==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32463==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32463==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32463==    by 0x263C49: transcode (ffmpeg.c:4585)
==32463==    by 0x263C49: main (ffmpeg.c:4814)
==32463== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32463== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==32463==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32463==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32463==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32463==    by 0x5B11F5: build_table (bitstream.c:168)
==32463==    by 0x5B14D5: build_table (bitstream.c:223)
==32463==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32463==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32463==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32463==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32463==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32463==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32463==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32463==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32463==    by 0x263BAD: main (ffmpeg.c:4787)
==32463== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32463== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==32463==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32463==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32463==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32463==    by 0x5B11F5: build_table (bitstream.c:168)
==32463==    by 0x5B14D5: build_table (bitstream.c:223)
==32463==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32463==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32463==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32463==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32463==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32463==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32463==    by 0x263C49: transcode (ffmpeg.c:4585)
==32463==    by 0x263C49: main (ffmpeg.c:4814)
==32463== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32463== LEAK SUMMARY:
==32463==    definitely lost: 110,592 bytes in 28 blocks
==32463==    indirectly lost: 0 bytes in 0 blocks
==32463==      possibly lost: 0 bytes in 0 blocks
==32463==    still reachable: 0 bytes in 0 blocks
==32463==         suppressed: 0 bytes in 0 blocks
==32463== 
==32463== For counts of detected and suppressed errors, rerun with: -v
==32463== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrmpeg4-resolution-change-up-down1N-101748-g797c2ecc8f
No diff output recorded
==32528== Memcheck, a memory error detector
==32528== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==32528== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==32528== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -flags +bitexact -idct simple -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/mpeg4/resize_up-down.h263 -sws_flags +bitexact -bitexact -f framemd5 -
==32528== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, m4v, from '/home/fate/fate-suite/mpeg4/resize_up-down.h263':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p, 400x300 [SAR 1:1 DAR 4:3], 25 tbr, 1200k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, framemd5, to 'pipe:':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 400x300 [SAR 1:1 DAR 4:3], q=2-31, 36000 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=  150 fps= 37 q=-0.0 Lsize=      12kB time=00:00:06.00 bitrate=  16.3kbits/s speed=1.47x    
video:26367kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==32528== 
==32528== HEAP SUMMARY:
==32528==     in use at exit: 110,592 bytes in 28 blocks
==32528==   total heap usage: 24,466 allocs, 24,438 frees, 39,274,646 bytes allocated
==32528== 
==32528== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==32528==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32528==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32528==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32528==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32528==    by 0x5B11F5: build_table (bitstream.c:168)
==32528==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32528==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32528==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32528==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32528==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32528==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32528==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32528==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32528==    by 0x263BAD: main (ffmpeg.c:4787)
==32528== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32528== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==32528==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32528==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32528==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32528==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32528==    by 0x5B11F5: build_table (bitstream.c:168)
==32528==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32528==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32528==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32528==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32528==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32528==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32528==    by 0x263C49: transcode (ffmpeg.c:4585)
==32528==    by 0x263C49: main (ffmpeg.c:4814)
==32528== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32528== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==32528==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32528==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32528==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32528==    by 0x5B11F5: build_table (bitstream.c:168)
==32528==    by 0x5B14D5: build_table (bitstream.c:223)
==32528==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32528==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32528==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32528==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32528==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32528==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32528==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32528==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32528==    by 0x263BAD: main (ffmpeg.c:4787)
==32528== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32528== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==32528==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32528==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32528==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32528==    by 0x5B11F5: build_table (bitstream.c:168)
==32528==    by 0x5B14D5: build_table (bitstream.c:223)
==32528==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32528==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32528==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32528==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32528==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32528==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32528==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32528==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32528==    by 0x263BAD: main (ffmpeg.c:4787)
==32528== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32528== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==32528==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32528==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32528==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32528==    by 0x5B11F5: build_table (bitstream.c:168)
==32528==    by 0x5B14D5: build_table (bitstream.c:223)
==32528==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32528==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32528==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32528==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32528==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32528==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32528==    by 0x263C49: transcode (ffmpeg.c:4585)
==32528==    by 0x263C49: main (ffmpeg.c:4814)
==32528== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32528== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==32528==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32528==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32528==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32528==    by 0x5B11F5: build_table (bitstream.c:168)
==32528==    by 0x5B14D5: build_table (bitstream.c:223)
==32528==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32528==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32528==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32528==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32528==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32528==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32528==    by 0x263C49: transcode (ffmpeg.c:4585)
==32528==    by 0x263C49: main (ffmpeg.c:4814)
==32528== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32528== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==32528==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32528==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32528==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32528==    by 0x5B11F5: build_table (bitstream.c:168)
==32528==    by 0x5B14D5: build_table (bitstream.c:223)
==32528==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32528==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32528==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32528==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32528==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32528==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32528==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32528==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32528==    by 0x263BAD: main (ffmpeg.c:4787)
==32528== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32528== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==32528==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32528==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32528==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32528==    by 0x5B11F5: build_table (bitstream.c:168)
==32528==    by 0x5B14D5: build_table (bitstream.c:223)
==32528==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32528==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32528==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32528==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32528==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32528==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32528==    by 0x263C49: transcode (ffmpeg.c:4585)
==32528==    by 0x263C49: main (ffmpeg.c:4814)
==32528== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32528== LEAK SUMMARY:
==32528==    definitely lost: 110,592 bytes in 28 blocks
==32528==    indirectly lost: 0 bytes in 0 blocks
==32528==      possibly lost: 0 bytes in 0 blocks
==32528==    still reachable: 0 bytes in 0 blocks
==32528==         suppressed: 0 bytes in 0 blocks
==32528== 
==32528== For counts of detected and suppressed errors, rerun with: -v
==32528== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrmpeg4-resolution-change-up-up1N-101748-g797c2ecc8f
No diff output recorded
==32542== Memcheck, a memory error detector
==32542== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==32542== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==32542== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -flags +bitexact -idct simple -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/mpeg4/resize_up-up.h263 -sws_flags +bitexact -bitexact -f framemd5 -
==32542== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, m4v, from '/home/fate/fate-suite/mpeg4/resize_up-up.h263':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 25 tbr, 1200k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, framemd5, to 'pipe:':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=  150 fps= 44 q=-0.0 Lsize=      12kB time=00:00:06.00 bitrate=  16.3kbits/s speed=1.74x    
video:22275kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==32542== 
==32542== HEAP SUMMARY:
==32542==     in use at exit: 110,592 bytes in 28 blocks
==32542==   total heap usage: 19,735 allocs, 19,707 frees, 31,087,553 bytes allocated
==32542== 
==32542== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==32542==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32542==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32542==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32542==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32542==    by 0x5B11F5: build_table (bitstream.c:168)
==32542==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32542==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32542==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32542==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32542==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32542==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32542==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32542==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32542==    by 0x263BAD: main (ffmpeg.c:4787)
==32542== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32542== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==32542==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==32542==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==32542==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32542==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32542==    by 0x5B11F5: build_table (bitstream.c:168)
==32542==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32542==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32542==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32542==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32542==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32542==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32542==    by 0x263C49: transcode (ffmpeg.c:4585)
==32542==    by 0x263C49: main (ffmpeg.c:4814)
==32542== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32542== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==32542==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32542==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32542==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32542==    by 0x5B11F5: build_table (bitstream.c:168)
==32542==    by 0x5B14D5: build_table (bitstream.c:223)
==32542==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32542==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32542==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32542==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32542==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32542==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32542==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32542==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32542==    by 0x263BAD: main (ffmpeg.c:4787)
==32542== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32542== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==32542==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32542==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32542==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32542==    by 0x5B11F5: build_table (bitstream.c:168)
==32542==    by 0x5B14D5: build_table (bitstream.c:223)
==32542==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32542==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32542==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32542==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32542==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32542==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32542==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32542==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32542==    by 0x263BAD: main (ffmpeg.c:4787)
==32542== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32542== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==32542==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32542==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32542==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32542==    by 0x5B11F5: build_table (bitstream.c:168)
==32542==    by 0x5B14D5: build_table (bitstream.c:223)
==32542==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32542==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==32542==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==32542==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32542==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32542==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32542==    by 0x263C49: transcode (ffmpeg.c:4585)
==32542==    by 0x263C49: main (ffmpeg.c:4814)
==32542== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32542== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==32542==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32542==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32542==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32542==    by 0x5B11F5: build_table (bitstream.c:168)
==32542==    by 0x5B14D5: build_table (bitstream.c:223)
==32542==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32542==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==32542==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==32542==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32542==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32542==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32542==    by 0x263C49: transcode (ffmpeg.c:4585)
==32542==    by 0x263C49: main (ffmpeg.c:4814)
==32542== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32542== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==32542==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32542==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32542==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32542==    by 0x5B11F5: build_table (bitstream.c:168)
==32542==    by 0x5B14D5: build_table (bitstream.c:223)
==32542==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32542==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32542==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32542==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32542==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==32542==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==32542==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==32542==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==32542==    by 0x263BAD: main (ffmpeg.c:4787)
==32542== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==32542== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==32542==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==32542==    by 0xEDE21E: av_realloc_f (mem.c:157)
==32542==    by 0x5B11F5: alloc_table (bitstream.c:119)
==32542==    by 0x5B11F5: build_table (bitstream.c:168)
==32542==    by 0x5B14D5: build_table (bitstream.c:223)
==32542==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==32542==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==32542==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==32542==    by 0x8FE373: avcodec_open2 (utils.c:920)
==32542==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==32542==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==32542==    by 0x263C49: transcode (ffmpeg.c:4585)
==32542==    by 0x263C49: main (ffmpeg.c:4814)
==32542== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==32542== LEAK SUMMARY:
==32542==    definitely lost: 110,592 bytes in 28 blocks
==32542==    indirectly lost: 0 bytes in 0 blocks
==32542==      possibly lost: 0 bytes in 0 blocks
==32542==    still reachable: 0 bytes in 0 blocks
==32542==         suppressed: 0 bytes in 0 blocks
==32542== 
==32542== For counts of detected and suppressed errors, rerun with: -v
==32542== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrmxf-demux1N-101748-g797c2ecc8f
No diff output recorded
==12947== Memcheck, a memory error detector
==12947== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==12947== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==12947== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/mxf/C0023S01.mxf -c:a copy -c:v copy -bitexact -f framecrc -
==12947== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[mxf @ 0x70e6040] invalid KAGSize 0 - guessing 512
[mxf @ 0x70e6040] invalid KAGSize 0 - guessing 512
[mpeg4 @ 0x7102d80] Failed to parse extradata
[mxf @ 0x70e6040] failed to find absolute offset of 100000 in BodySID 2 - partial file?
Guessed Channel Layout for Input Stream #0.1 : stereo
Guessed Channel Layout for Input Stream #0.2 : stereo
Guessed Channel Layout for Input Stream #0.3 : stereo
Guessed Channel Layout for Input Stream #0.4 : stereo
Input #0, mxf, from '/home/fate/fate-suite/mxf/C0023S01.mxf':
  Metadata:
    uid             : 89721e00-1139-05c1-00f1-080046020222
    generation_uid  : 89721e00-1139-05c2-00f1-080046020222
    company_name    : SONY
    product_name    : Opt 
    product_version : 1.40
    product_uid     : 060e2b34-0401-0103-0e06-012002010200
    modification_date: 2006-06-25T23:09:48.000000Z
    material_package_umid: 0x060A2B340101010501010D4313FF0000B36F1E00113905A508004602022200F1
    timecode        : 01:43:48:21
  Duration: 00:00:03.80, start: 0.000000, bitrate: 2483 kb/s
    Stream #0:0: Video: mpeg4, yuv420p(progressive), 352x288 [SAR 16:11 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D4313FF0000B46F1E00113905A508004602022200F1
    Stream #0:1: Audio: pcm_alaw, 8000 Hz, stereo, s16, 128 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D4313FF0000B46F1E00113905A508004602022200F1
    Stream #0:2: Audio: pcm_alaw, 8000 Hz, stereo, s16, 128 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D4313FF0000B46F1E00113905A508004602022200F1
    Stream #0:3: Audio: pcm_alaw, 8000 Hz, stereo, s16, 128 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D4313FF0000B46F1E00113905A508004602022200F1
    Stream #0:4: Audio: pcm_alaw, 8000 Hz, stereo, s16, 128 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D4313FF0000B46F1E00113905A508004602022200F1
Output #0, framecrc, to 'pipe:':
  Metadata:
    uid             : 89721e00-1139-05c1-00f1-080046020222
    generation_uid  : 89721e00-1139-05c2-00f1-080046020222
    company_name    : SONY
    product_name    : Opt 
    product_version : 1.40
    product_uid     : 060e2b34-0401-0103-0e06-012002010200
    modification_date: 2006-06-25T23:09:48.000000Z
    material_package_umid: 0x060A2B340101010501010D4313FF0000B36F1E00113905A508004602022200F1
    timecode        : 01:43:48:21
    Stream #0:0: Video: mpeg4, yuv420p(progressive), 352x288 [SAR 16:11 DAR 16:9], q=2-31, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D4313FF0000B46F1E00113905A508004602022200F1
    Stream #0:1: Audio: pcm_alaw, 8000 Hz, stereo, s16, 128 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D4313FF0000B46F1E00113905A508004602022200F1
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
[framecrc @ 0x7327100] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[mxf @ 0x70e6040] failed to find absolute offset of 100000 in BodySID 2 - partial file?
frame=   95 fps=0.0 q=-1.0 Lsize=       7kB time=00:00:03.80 bitrate=  15.6kbits/s speed=90.6x    
video:750kB audio:62kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==12947== 
==12947== HEAP SUMMARY:
==12947==     in use at exit: 55,296 bytes in 14 blocks
==12947==   total heap usage: 1,592 allocs, 1,578 frees, 2,353,498 bytes allocated
==12947== 
==12947== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 4
==12947==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==12947==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==12947==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12947==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12947==    by 0x5B11F5: build_table (bitstream.c:168)
==12947==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12947==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==12947==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==12947==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12947==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12947==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12947==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12947==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12947==    by 0x263BAD: main (ffmpeg.c:4787)
==12947== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12947== 4,096 bytes in 1 blocks are definitely lost in loss record 2 of 4
==12947==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==12947==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12947==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12947==    by 0x5B11F5: build_table (bitstream.c:168)
==12947==    by 0x5B14D5: build_table (bitstream.c:223)
==12947==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12947==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==12947==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==12947==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12947==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12947==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12947==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12947==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12947==    by 0x263BAD: main (ffmpeg.c:4787)
==12947== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12947== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 4
==12947==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==12947==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12947==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12947==    by 0x5B11F5: build_table (bitstream.c:168)
==12947==    by 0x5B14D5: build_table (bitstream.c:223)
==12947==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12947==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==12947==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==12947==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12947==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12947==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12947==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12947==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12947==    by 0x263BAD: main (ffmpeg.c:4787)
==12947== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12947== 45,056 bytes in 11 blocks are definitely lost in loss record 4 of 4
==12947==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==12947==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12947==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12947==    by 0x5B11F5: build_table (bitstream.c:168)
==12947==    by 0x5B14D5: build_table (bitstream.c:223)
==12947==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12947==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==12947==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==12947==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12947==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12947==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12947==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12947==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12947==    by 0x263BAD: main (ffmpeg.c:4787)
==12947== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12947== LEAK SUMMARY:
==12947==    definitely lost: 55,296 bytes in 14 blocks
==12947==    indirectly lost: 0 bytes in 0 blocks
==12947==      possibly lost: 0 bytes in 0 blocks
==12947==    still reachable: 0 bytes in 0 blocks
==12947==         suppressed: 0 bytes in 0 blocks
==12947== 
==12947== For counts of detected and suppressed errors, rerun with: -v
==12947== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
diffstderrnc-demux1N-101748-g797c2ecc8f
No diff output recorded
==12957== Memcheck, a memory error detector
==12957== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==12957== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==12957== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/nc-camera/nc-sample-partial -c:v copy -bitexact -f framecrc -
==12957== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, nc, from '/home/fate/fate-suite/nc-camera/nc-sample-partial':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: mpeg4, yuv420p, 720x576 [SAR 1:1 DAR 5:4], 100 fps, 100 tbr, 100 tbn, 100 tbc
Output #0, framecrc, to 'pipe:':
    Stream #0:0: Video: mpeg4, yuv420p, 720x576 [SAR 1:1 DAR 5:4], q=2-31, 100 fps, 100 tbr, 100 tbn, 100 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
/home/fate/fate-suite/nc-camera/nc-sample-partial: Input/output error
frame=   91 fps=0.0 q=-1.0 Lsize=       6kB time=00:00:00.91 bitrate=  52.9kbits/s speed=22.1x    
video:1007kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==12957== 
==12957== HEAP SUMMARY:
==12957==     in use at exit: 55,296 bytes in 14 blocks
==12957==   total heap usage: 4,281 allocs, 4,267 frees, 3,244,279 bytes allocated
==12957== 
==12957== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 4
==12957==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==12957==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==12957==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12957==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12957==    by 0x5B11F5: build_table (bitstream.c:168)
==12957==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12957==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==12957==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==12957==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12957==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12957==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12957==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12957==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12957==    by 0x263BAD: main (ffmpeg.c:4787)
==12957== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12957== 4,096 bytes in 1 blocks are definitely lost in loss record 2 of 4
==12957==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==12957==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12957==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12957==    by 0x5B11F5: build_table (bitstream.c:168)
==12957==    by 0x5B14D5: build_table (bitstream.c:223)
==12957==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12957==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==12957==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==12957==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12957==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12957==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12957==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12957==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12957==    by 0x263BAD: main (ffmpeg.c:4787)
==12957== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12957== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 4
==12957==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==12957==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12957==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12957==    by 0x5B11F5: build_table (bitstream.c:168)
==12957==    by 0x5B14D5: build_table (bitstream.c:223)
==12957==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12957==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==12957==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==12957==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12957==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12957==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12957==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12957==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12957==    by 0x263BAD: main (ffmpeg.c:4787)
==12957== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12957== 45,056 bytes in 11 blocks are definitely lost in loss record 4 of 4
==12957==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==12957==    by 0xEDE21E: av_realloc_f (mem.c:157)
==12957==    by 0x5B11F5: alloc_table (bitstream.c:119)
==12957==    by 0x5B11F5: build_table (bitstream.c:168)
==12957==    by 0x5B14D5: build_table (bitstream.c:223)
==12957==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==12957==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==12957==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==12957==    by 0x8FE373: avcodec_open2 (utils.c:920)
==12957==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==12957==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==12957==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==12957==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==12957==    by 0x263BAD: main (ffmpeg.c:4787)
==12957== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==12957== LEAK SUMMARY:
==12957==    definitely lost: 55,296 bytes in 14 blocks
==12957==    indirectly lost: 0 bytes in 0 blocks
==12957==      possibly lost: 0 bytes in 0 blocks
==12957==    still reachable: 0 bytes in 0 blocks
==12957==         suppressed: 0 bytes in 0 blocks
==12957== 
==12957== For counts of detected and suppressed errors, rerun with: -v
==12957== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
diffstderrpmp-demux1N-101748-g797c2ecc8f
No diff output recorded
==13035== Memcheck, a memory error detector
==13035== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==13035== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==13035== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/pmp/demo.pmp -vn -c:a copy -bitexact -f framecrc -
==13035== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, pmp, from '/home/fate/fate-suite/pmp/demo.pmp':
  Duration: 00:00:44.01, bitrate: 18 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p, 480x272 [SAR 1:1 DAR 30:17], 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1: Audio: mp3, 44100 Hz, stereo, fltp, 128 kb/s
Output #0, framecrc, to 'pipe:':
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 128 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
size=       6kB time=00:00:02.71 bitrate=  18.3kbits/s speed= 104x    
video:0kB audio:12kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==13035== 
==13035== HEAP SUMMARY:
==13035==     in use at exit: 55,296 bytes in 14 blocks
==13035==   total heap usage: 1,602 allocs, 1,588 frees, 1,260,959 bytes allocated
==13035== 
==13035== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 4
==13035==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==13035==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==13035==    by 0xEDE21E: av_realloc_f (mem.c:157)
==13035==    by 0x5B11F5: alloc_table (bitstream.c:119)
==13035==    by 0x5B11F5: build_table (bitstream.c:168)
==13035==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==13035==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==13035==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==13035==    by 0x8FE373: avcodec_open2 (utils.c:920)
==13035==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==13035==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==13035==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==13035==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==13035==    by 0x263BAD: main (ffmpeg.c:4787)
==13035== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==13035== 4,096 bytes in 1 blocks are definitely lost in loss record 2 of 4
==13035==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==13035==    by 0xEDE21E: av_realloc_f (mem.c:157)
==13035==    by 0x5B11F5: alloc_table (bitstream.c:119)
==13035==    by 0x5B11F5: build_table (bitstream.c:168)
==13035==    by 0x5B14D5: build_table (bitstream.c:223)
==13035==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==13035==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==13035==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==13035==    by 0x8FE373: avcodec_open2 (utils.c:920)
==13035==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==13035==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==13035==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==13035==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==13035==    by 0x263BAD: main (ffmpeg.c:4787)
==13035== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==13035== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 4
==13035==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==13035==    by 0xEDE21E: av_realloc_f (mem.c:157)
==13035==    by 0x5B11F5: alloc_table (bitstream.c:119)
==13035==    by 0x5B11F5: build_table (bitstream.c:168)
==13035==    by 0x5B14D5: build_table (bitstream.c:223)
==13035==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==13035==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==13035==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==13035==    by 0x8FE373: avcodec_open2 (utils.c:920)
==13035==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==13035==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==13035==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==13035==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==13035==    by 0x263BAD: main (ffmpeg.c:4787)
==13035== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==13035== 45,056 bytes in 11 blocks are definitely lost in loss record 4 of 4
==13035==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==13035==    by 0xEDE21E: av_realloc_f (mem.c:157)
==13035==    by 0x5B11F5: alloc_table (bitstream.c:119)
==13035==    by 0x5B11F5: build_table (bitstream.c:168)
==13035==    by 0x5B14D5: build_table (bitstream.c:223)
==13035==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==13035==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==13035==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==13035==    by 0x8FE373: avcodec_open2 (utils.c:920)
==13035==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==13035==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==13035==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==13035==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==13035==    by 0x263BAD: main (ffmpeg.c:4787)
==13035== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==13035== LEAK SUMMARY:
==13035==    definitely lost: 55,296 bytes in 14 blocks
==13035==    indirectly lost: 0 bytes in 0 blocks
==13035==      possibly lost: 0 bytes in 0 blocks
==13035==    still reachable: 0 bytes in 0 blocks
==13035==         suppressed: 0 bytes in 0 blocks
==13035== 
==13035== For counts of detected and suppressed errors, rerun with: -v
==13035== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
diffstderrvsynth1-mpeg41N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth1-mpeg4	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth1-mpeg4	2018-04-03 13:24:01.246293053 +0000
@@ -1,4 +1,2 @@
 b4e8871c504a22c8c874c7e845b73da7 *tests/data/fate/vsynth1-mpeg4.mp4
 540085 tests/data/fate/vsynth1-mpeg4.mp4
-f80ec173d37f2f91add031e95579a220 *tests/data/fate/vsynth1-mpeg4.out.rawvideo
-stddev:    7.97 PSNR: 30.10 MAXDIFF:  105 bytes:  7603200/  7603200
==26283== Memcheck, a memory error detector
==26283== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26283== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26283== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 10 -flags +mv4 -mbd bits -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f mp4 -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4.mp4
==26283== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100b80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, mp4, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4.mp4':
    Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 15 q=10.0 Lsize=     527kB time=00:00:01.96 bitrate=2204.3kbits/s speed=0.607x    
video:526kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.189774%
==26283== 
==26283== HEAP SUMMARY:
==26283==     in use at exit: 0 bytes in 0 blocks
==26283==   total heap usage: 5,848 allocs, 5,848 frees, 10,396,707 bytes allocated
==26283== 
==26283== All heap blocks were freed -- no leaks are possible
==26283== 
==26283== For counts of detected and suppressed errors, rerun with: -v
==26283== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==26340== Memcheck, a memory error detector
==26340== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26340== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26340== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4.mp4 -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4.out.rawvideo
==26340== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
  Duration: 00:00:02.00, start: 0.000000, bitrate: 2160 kb/s
    Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 2156 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4.out.rawvideo':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    Stream #0:0(und): Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.00 bitrate=30412.8kbits/s speed=3.61x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==26340== 
==26340== HEAP SUMMARY:
==26340==     in use at exit: 110,592 bytes in 28 blocks
==26340==   total heap usage: 6,245 allocs, 6,217 frees, 10,508,175 bytes allocated
==26340== 
==26340== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==26340==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26340==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26340==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26340==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26340==    by 0x5B11F5: build_table (bitstream.c:168)
==26340==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26340==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26340==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26340==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26340==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26340==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26340==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26340==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26340==    by 0x263BAD: main (ffmpeg.c:4787)
==26340== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26340== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==26340==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26340==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26340==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26340==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26340==    by 0x5B11F5: build_table (bitstream.c:168)
==26340==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26340==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26340==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26340==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26340==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26340==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26340==    by 0x263C49: transcode (ffmpeg.c:4585)
==26340==    by 0x263C49: main (ffmpeg.c:4814)
==26340== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26340== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==26340==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26340==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26340==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26340==    by 0x5B11F5: build_table (bitstream.c:168)
==26340==    by 0x5B14D5: build_table (bitstream.c:223)
==26340==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26340==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26340==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26340==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26340==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26340==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26340==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26340==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26340==    by 0x263BAD: main (ffmpeg.c:4787)
==26340== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26340== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==26340==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26340==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26340==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26340==    by 0x5B11F5: build_table (bitstream.c:168)
==26340==    by 0x5B14D5: build_table (bitstream.c:223)
==26340==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26340==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26340==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26340==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26340==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26340==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26340==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26340==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26340==    by 0x263BAD: main (ffmpeg.c:4787)
==26340== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26340== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==26340==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26340==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26340==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26340==    by 0x5B11F5: build_table (bitstream.c:168)
==26340==    by 0x5B14D5: build_table (bitstream.c:223)
==26340==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26340==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26340==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26340==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26340==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26340==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26340==    by 0x263C49: transcode (ffmpeg.c:4585)
==26340==    by 0x263C49: main (ffmpeg.c:4814)
==26340== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26340== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==26340==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26340==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26340==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26340==    by 0x5B11F5: build_table (bitstream.c:168)
==26340==    by 0x5B14D5: build_table (bitstream.c:223)
==26340==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26340==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26340==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26340==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26340==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26340==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26340==    by 0x263C49: transcode (ffmpeg.c:4585)
==26340==    by 0x263C49: main (ffmpeg.c:4814)
==26340== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26340== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==26340==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26340==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26340==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26340==    by 0x5B11F5: build_table (bitstream.c:168)
==26340==    by 0x5B14D5: build_table (bitstream.c:223)
==26340==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26340==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26340==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26340==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26340==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26340==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26340==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26340==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26340==    by 0x263BAD: main (ffmpeg.c:4787)
==26340== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26340== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==26340==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26340==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26340==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26340==    by 0x5B11F5: build_table (bitstream.c:168)
==26340==    by 0x5B14D5: build_table (bitstream.c:223)
==26340==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26340==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26340==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26340==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26340==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26340==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26340==    by 0x263C49: transcode (ffmpeg.c:4585)
==26340==    by 0x263C49: main (ffmpeg.c:4814)
==26340== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26340== LEAK SUMMARY:
==26340==    definitely lost: 110,592 bytes in 28 blocks
==26340==    indirectly lost: 0 bytes in 0 blocks
==26340==      possibly lost: 0 bytes in 0 blocks
==26340==    still reachable: 0 bytes in 0 blocks
==26340==         suppressed: 0 bytes in 0 blocks
==26340== 
==26340== For counts of detected and suppressed errors, rerun with: -v
==26340== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth1-mpeg4-adap1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth1-mpeg4-adap	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth1-mpeg4-adap	2018-04-03 13:24:15.859616980 +0000
@@ -1,4 +1,2 @@
 f120f0bf976bb510c5b5305fe7d8159a *tests/data/fate/vsynth1-mpeg4-adap.avi
 403436 tests/data/fate/vsynth1-mpeg4-adap.avi
-fad0b9dc08fe4a95b297af1a7411c1e9 *tests/data/fate/vsynth1-mpeg4-adap.out.rawvideo
-stddev:   14.05 PSNR: 25.17 MAXDIFF:  184 bytes:  7603200/  7603200
==26361== Memcheck, a memory error detector
==26361== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26361== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26361== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 550k -bf 2 -flags +mv4 -trellis 1 -cmp 1 -subcmp 2 -mbd rd -scplx_mask 0.3 -mpv_flags +mv0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-adap.avi
==26361== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7101380] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-adap.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 550 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/550000 buffer size: 0 vbv_delay: -1
frame=   50 fps=4.2 q=30.2 Lsize=     394kB time=00:00:01.96 bitrate=1646.7kbits/s speed=0.166x    
video:387kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.733655%
==26361== 
==26361== HEAP SUMMARY:
==26361==     in use at exit: 0 bytes in 0 blocks
==26361==   total heap usage: 6,300 allocs, 6,300 frees, 11,669,126 bytes allocated
==26361== 
==26361== All heap blocks were freed -- no leaks are possible
==26361== 
==26361== For counts of detected and suppressed errors, rerun with: -v
==26361== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==26407== Memcheck, a memory error detector
==26407== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26407== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26407== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-adap.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-adap.out.rawvideo
==26407== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-adap.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 1613 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 1618 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-adap.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.04 bitrate=29816.5kbits/s speed=3.38x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==26407== 
==26407== HEAP SUMMARY:
==26407==     in use at exit: 110,592 bytes in 28 blocks
==26407==   total heap usage: 5,955 allocs, 5,927 frees, 10,973,403 bytes allocated
==26407== 
==26407== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==26407==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26407==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26407==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26407==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26407==    by 0x5B11F5: build_table (bitstream.c:168)
==26407==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26407==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26407==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26407==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26407==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26407==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26407==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26407==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26407==    by 0x263BAD: main (ffmpeg.c:4787)
==26407== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26407== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==26407==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26407==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26407==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26407==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26407==    by 0x5B11F5: build_table (bitstream.c:168)
==26407==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26407==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26407==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26407==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26407==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26407==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26407==    by 0x263C49: transcode (ffmpeg.c:4585)
==26407==    by 0x263C49: main (ffmpeg.c:4814)
==26407== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26407== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==26407==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26407==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26407==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26407==    by 0x5B11F5: build_table (bitstream.c:168)
==26407==    by 0x5B14D5: build_table (bitstream.c:223)
==26407==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26407==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26407==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26407==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26407==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26407==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26407==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26407==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26407==    by 0x263BAD: main (ffmpeg.c:4787)
==26407== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26407== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==26407==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26407==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26407==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26407==    by 0x5B11F5: build_table (bitstream.c:168)
==26407==    by 0x5B14D5: build_table (bitstream.c:223)
==26407==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26407==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26407==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26407==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26407==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26407==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26407==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26407==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26407==    by 0x263BAD: main (ffmpeg.c:4787)
==26407== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26407== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==26407==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26407==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26407==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26407==    by 0x5B11F5: build_table (bitstream.c:168)
==26407==    by 0x5B14D5: build_table (bitstream.c:223)
==26407==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26407==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26407==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26407==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26407==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26407==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26407==    by 0x263C49: transcode (ffmpeg.c:4585)
==26407==    by 0x263C49: main (ffmpeg.c:4814)
==26407== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26407== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==26407==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26407==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26407==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26407==    by 0x5B11F5: build_table (bitstream.c:168)
==26407==    by 0x5B14D5: build_table (bitstream.c:223)
==26407==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26407==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26407==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26407==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26407==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26407==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26407==    by 0x263C49: transcode (ffmpeg.c:4585)
==26407==    by 0x263C49: main (ffmpeg.c:4814)
==26407== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26407== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==26407==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26407==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26407==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26407==    by 0x5B11F5: build_table (bitstream.c:168)
==26407==    by 0x5B14D5: build_table (bitstream.c:223)
==26407==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26407==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26407==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26407==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26407==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26407==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26407==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26407==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26407==    by 0x263BAD: main (ffmpeg.c:4787)
==26407== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26407== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==26407==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26407==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26407==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26407==    by 0x5B11F5: build_table (bitstream.c:168)
==26407==    by 0x5B14D5: build_table (bitstream.c:223)
==26407==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26407==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26407==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26407==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26407==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26407==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26407==    by 0x263C49: transcode (ffmpeg.c:4585)
==26407==    by 0x263C49: main (ffmpeg.c:4814)
==26407== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26407== LEAK SUMMARY:
==26407==    definitely lost: 110,592 bytes in 28 blocks
==26407==    indirectly lost: 0 bytes in 0 blocks
==26407==      possibly lost: 0 bytes in 0 blocks
==26407==    still reachable: 0 bytes in 0 blocks
==26407==         suppressed: 0 bytes in 0 blocks
==26407== 
==26407== For counts of detected and suppressed errors, rerun with: -v
==26407== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth1-mpeg4-adv1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth1-mpeg4-adv	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth1-mpeg4-adv	2018-04-03 13:24:05.542956954 +0000
@@ -1,4 +1,2 @@
 0700d773f269babdaea4c6c71a3d7876 *tests/data/fate/vsynth1-mpeg4-adv.avi
 589708 tests/data/fate/vsynth1-mpeg4-adv.avi
-b651bd94456005a1990fb64c28306262 *tests/data/fate/vsynth1-mpeg4-adv.out.rawvideo
-stddev:    6.98 PSNR: 31.25 MAXDIFF:   84 bytes:  7603200/  7603200
==26321== Memcheck, a memory error detector
==26321== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26321== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26321== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 9 -flags +mv4+aic -data_partitioning 1 -trellis 1 -mbd bits -ps 200 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-adv.avi
==26321== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100e80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-adv.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps=8.9 q=9.0 Lsize=     576kB time=00:00:02.00 bitrate=2358.8kbits/s speed=0.357x    
video:569kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.179583%
==26321== 
==26321== HEAP SUMMARY:
==26321==     in use at exit: 0 bytes in 0 blocks
==26321==   total heap usage: 5,885 allocs, 5,885 frees, 11,894,579 bytes allocated
==26321== 
==26321== All heap blocks were freed -- no leaks are possible
==26321== 
==26321== For counts of detected and suppressed errors, rerun with: -v
==26321== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==26382== Memcheck, a memory error detector
==26382== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26382== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26382== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-adv.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-adv.out.rawvideo
==26382== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-adv.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 2358 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 2378 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-adv.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.00 bitrate=30412.8kbits/s speed=3.55x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==26382== 
==26382== HEAP SUMMARY:
==26382==     in use at exit: 110,592 bytes in 28 blocks
==26382==   total heap usage: 6,385 allocs, 6,357 frees, 11,005,113 bytes allocated
==26382== 
==26382== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==26382==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26382==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26382==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26382==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26382==    by 0x5B11F5: build_table (bitstream.c:168)
==26382==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26382==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26382==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26382==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26382==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26382==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26382==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26382==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26382==    by 0x263BAD: main (ffmpeg.c:4787)
==26382== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26382== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==26382==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26382==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26382==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26382==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26382==    by 0x5B11F5: build_table (bitstream.c:168)
==26382==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26382==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26382==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26382==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26382==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26382==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26382==    by 0x263C49: transcode (ffmpeg.c:4585)
==26382==    by 0x263C49: main (ffmpeg.c:4814)
==26382== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26382== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==26382==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26382==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26382==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26382==    by 0x5B11F5: build_table (bitstream.c:168)
==26382==    by 0x5B14D5: build_table (bitstream.c:223)
==26382==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26382==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26382==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26382==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26382==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26382==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26382==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26382==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26382==    by 0x263BAD: main (ffmpeg.c:4787)
==26382== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26382== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==26382==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26382==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26382==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26382==    by 0x5B11F5: build_table (bitstream.c:168)
==26382==    by 0x5B14D5: build_table (bitstream.c:223)
==26382==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26382==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26382==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26382==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26382==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26382==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26382==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26382==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26382==    by 0x263BAD: main (ffmpeg.c:4787)
==26382== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26382== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==26382==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26382==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26382==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26382==    by 0x5B11F5: build_table (bitstream.c:168)
==26382==    by 0x5B14D5: build_table (bitstream.c:223)
==26382==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26382==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26382==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26382==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26382==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26382==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26382==    by 0x263C49: transcode (ffmpeg.c:4585)
==26382==    by 0x263C49: main (ffmpeg.c:4814)
==26382== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26382== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==26382==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26382==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26382==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26382==    by 0x5B11F5: build_table (bitstream.c:168)
==26382==    by 0x5B14D5: build_table (bitstream.c:223)
==26382==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26382==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26382==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26382==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26382==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26382==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26382==    by 0x263C49: transcode (ffmpeg.c:4585)
==26382==    by 0x263C49: main (ffmpeg.c:4814)
==26382== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26382== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==26382==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26382==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26382==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26382==    by 0x5B11F5: build_table (bitstream.c:168)
==26382==    by 0x5B14D5: build_table (bitstream.c:223)
==26382==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26382==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26382==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26382==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26382==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26382==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26382==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26382==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26382==    by 0x263BAD: main (ffmpeg.c:4787)
==26382== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26382== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==26382==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26382==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26382==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26382==    by 0x5B11F5: build_table (bitstream.c:168)
==26382==    by 0x5B14D5: build_table (bitstream.c:223)
==26382==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26382==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26382==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26382==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26382==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26382==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26382==    by 0x263C49: transcode (ffmpeg.c:4585)
==26382==    by 0x263C49: main (ffmpeg.c:4814)
==26382== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26382== LEAK SUMMARY:
==26382==    definitely lost: 110,592 bytes in 28 blocks
==26382==    indirectly lost: 0 bytes in 0 blocks
==26382==      possibly lost: 0 bytes in 0 blocks
==26382==    still reachable: 0 bytes in 0 blocks
==26382==         suppressed: 0 bytes in 0 blocks
==26382== 
==26382== For counts of detected and suppressed errors, rerun with: -v
==26382== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth1-mpeg4-error1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth1-mpeg4-error	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth1-mpeg4-error	2018-04-03 13:24:22.342946140 +0000
@@ -1,4 +1,2 @@
 d23ad508e15bf6af8de8799c59acd6dc *tests/data/fate/vsynth1-mpeg4-error.avi
 752350 tests/data/fate/vsynth1-mpeg4-error.avi
-5853c8c789f260ae4dcbf37a17d04b66 *tests/data/fate/vsynth1-mpeg4-error.out.rawvideo
-stddev:   17.33 PSNR: 23.35 MAXDIFF:  229 bytes:  7603200/  7603200
==26432== Memcheck, a memory error detector
==26432== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26432== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26432== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 7 -flags +mv4+aic -data_partitioning 1 -mbd rd -ps 250 -error_rate 10 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-error.avi
==26432== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100e80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-error.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 13 q=7.0 Lsize=     735kB time=00:00:02.00 bitrate=3009.4kbits/s speed=0.539x    
video:728kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.921825%
==26432== 
==26432== HEAP SUMMARY:
==26432==     in use at exit: 0 bytes in 0 blocks
==26432==   total heap usage: 5,882 allocs, 5,882 frees, 12,057,132 bytes allocated
==26432== 
==26432== All heap blocks were freed -- no leaks are possible
==26432== 
==26432== For counts of detected and suppressed errors, rerun with: -v
==26432== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==26470== Memcheck, a memory error detector
==26470== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26470== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26470== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-error.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-error.out.rawvideo
==26470== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-error.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 3009 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 3042 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
[mpeg4 @ 0x71729c0] concealing 37 DC, 37 AC, 37 MV errors in I frame
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-error.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
[mpeg4 @ 0x71729c0] concealing 103 DC, 103 AC, 103 MV errors in P frame
[mpeg4 @ 0x71729c0] concealing 100 DC, 100 AC, 100 MV errors in P frame
[mpeg4 @ 0x71729c0] concealing 99 DC, 99 AC, 99 MV errors in P frame
[mpeg4 @ 0x71729c0] concealing 40 DC, 40 AC, 40 MV errors in I frame
[mpeg4 @ 0x71729c0] concealing 118 DC, 118 AC, 118 MV errors in P frame
[mpeg4 @ 0x71729c0] concealing 114 DC, 114 AC, 114 MV errors in P frame
[mpeg4 @ 0x71729c0] concealing 42 DC, 42 AC, 42 MV errors in I frame
[mpeg4 @ 0x71729c0] concealing 102 DC, 102 AC, 102 MV errors in P frame
[mpeg4 @ 0x71729c0] concealing 98 DC, 98 AC, 98 MV errors in P frame
[mpeg4 @ 0x71729c0] concealing 106 DC, 106 AC, 106 MV errors in P frame
[mpeg4 @ 0x71729c0] concealing 95 DC, 95 AC, 95 MV errors in P frame
[mpeg4 @ 0x71729c0] concealing 100 DC, 100 AC, 100 MV errors in P frame
frame=   50 fps= 48 q=-0.0 Lsize=    7425kB time=00:00:02.00 bitrate=30412.8kbits/s speed=1.93x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==26470== 
==26470== HEAP SUMMARY:
==26470==     in use at exit: 110,592 bytes in 28 blocks
==26470==   total heap usage: 6,463 allocs, 6,435 frees, 12,094,187 bytes allocated
==26470== 
==26470== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==26470==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26470==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26470==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26470==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26470==    by 0x5B11F5: build_table (bitstream.c:168)
==26470==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26470==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26470==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26470==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26470==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26470==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26470==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26470==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26470==    by 0x263BAD: main (ffmpeg.c:4787)
==26470== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26470== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==26470==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26470==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26470==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26470==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26470==    by 0x5B11F5: build_table (bitstream.c:168)
==26470==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26470==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26470==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26470==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26470==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26470==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26470==    by 0x263C49: transcode (ffmpeg.c:4585)
==26470==    by 0x263C49: main (ffmpeg.c:4814)
==26470== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26470== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==26470==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26470==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26470==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26470==    by 0x5B11F5: build_table (bitstream.c:168)
==26470==    by 0x5B14D5: build_table (bitstream.c:223)
==26470==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26470==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26470==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26470==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26470==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26470==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26470==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26470==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26470==    by 0x263BAD: main (ffmpeg.c:4787)
==26470== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26470== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==26470==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26470==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26470==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26470==    by 0x5B11F5: build_table (bitstream.c:168)
==26470==    by 0x5B14D5: build_table (bitstream.c:223)
==26470==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26470==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26470==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26470==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26470==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26470==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26470==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26470==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26470==    by 0x263BAD: main (ffmpeg.c:4787)
==26470== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26470== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==26470==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26470==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26470==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26470==    by 0x5B11F5: build_table (bitstream.c:168)
==26470==    by 0x5B14D5: build_table (bitstream.c:223)
==26470==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26470==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26470==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26470==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26470==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26470==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26470==    by 0x263C49: transcode (ffmpeg.c:4585)
==26470==    by 0x263C49: main (ffmpeg.c:4814)
==26470== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26470== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==26470==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26470==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26470==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26470==    by 0x5B11F5: build_table (bitstream.c:168)
==26470==    by 0x5B14D5: build_table (bitstream.c:223)
==26470==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26470==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26470==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26470==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26470==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26470==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26470==    by 0x263C49: transcode (ffmpeg.c:4585)
==26470==    by 0x263C49: main (ffmpeg.c:4814)
==26470== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26470== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==26470==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26470==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26470==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26470==    by 0x5B11F5: build_table (bitstream.c:168)
==26470==    by 0x5B14D5: build_table (bitstream.c:223)
==26470==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26470==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26470==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26470==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26470==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26470==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26470==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26470==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26470==    by 0x263BAD: main (ffmpeg.c:4787)
==26470== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26470== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==26470==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26470==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26470==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26470==    by 0x5B11F5: build_table (bitstream.c:168)
==26470==    by 0x5B14D5: build_table (bitstream.c:223)
==26470==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26470==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26470==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26470==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26470==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26470==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26470==    by 0x263C49: transcode (ffmpeg.c:4585)
==26470==    by 0x263C49: main (ffmpeg.c:4814)
==26470== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26470== LEAK SUMMARY:
==26470==    definitely lost: 110,592 bytes in 28 blocks
==26470==    indirectly lost: 0 bytes in 0 blocks
==26470==      possibly lost: 0 bytes in 0 blocks
==26470==    still reachable: 0 bytes in 0 blocks
==26470==         suppressed: 0 bytes in 0 blocks
==26470== 
==26470== For counts of detected and suppressed errors, rerun with: -v
==26470== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth1-mpeg4-nr1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth1-mpeg4-nr	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth1-mpeg4-nr	2018-04-03 13:24:23.339612166 +0000
@@ -1,4 +1,2 @@
 793b77835fe8073bba19a22e9039d6e1 *tests/data/fate/vsynth1-mpeg4-nr.avi
 675456 tests/data/fate/vsynth1-mpeg4-nr.avi
-5fee518cde41e5567f800fbe14210fb8 *tests/data/fate/vsynth1-mpeg4-nr.out.rawvideo
-stddev:    6.99 PSNR: 31.24 MAXDIFF:   86 bytes:  7603200/  7603200
==26449== Memcheck, a memory error detector
==26449== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26449== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26449== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 8 -flags +mv4 -mbd rd -noise_reduction 200 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-nr.avi
==26449== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100cc0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-nr.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 13 q=8.0 Lsize=     660kB time=00:00:02.00 bitrate=2701.8kbits/s speed=0.515x    
video:653kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.028448%
==26449== 
==26449== HEAP SUMMARY:
==26449==     in use at exit: 0 bytes in 0 blocks
==26449==   total heap usage: 5,856 allocs, 5,856 frees, 10,822,450 bytes allocated
==26449== 
==26449== All heap blocks were freed -- no leaks are possible
==26449== 
==26449== For counts of detected and suppressed errors, rerun with: -v
==26449== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==26478== Memcheck, a memory error detector
==26478== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26478== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26478== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-nr.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-nr.out.rawvideo
==26478== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-nr.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 2701 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 2728 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-nr.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.00 bitrate=30412.8kbits/s speed=3.32x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==26478== 
==26478== HEAP SUMMARY:
==26478==     in use at exit: 110,592 bytes in 28 blocks
==26478==   total heap usage: 6,385 allocs, 6,357 frees, 11,176,603 bytes allocated
==26478== 
==26478== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==26478==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26478==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26478==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26478==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26478==    by 0x5B11F5: build_table (bitstream.c:168)
==26478==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26478==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26478==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26478==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26478==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26478==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26478==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26478==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26478==    by 0x263BAD: main (ffmpeg.c:4787)
==26478== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26478== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==26478==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26478==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26478==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26478==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26478==    by 0x5B11F5: build_table (bitstream.c:168)
==26478==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26478==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26478==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26478==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26478==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26478==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26478==    by 0x263C49: transcode (ffmpeg.c:4585)
==26478==    by 0x263C49: main (ffmpeg.c:4814)
==26478== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26478== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==26478==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26478==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26478==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26478==    by 0x5B11F5: build_table (bitstream.c:168)
==26478==    by 0x5B14D5: build_table (bitstream.c:223)
==26478==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26478==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26478==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26478==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26478==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26478==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26478==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26478==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26478==    by 0x263BAD: main (ffmpeg.c:4787)
==26478== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26478== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==26478==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26478==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26478==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26478==    by 0x5B11F5: build_table (bitstream.c:168)
==26478==    by 0x5B14D5: build_table (bitstream.c:223)
==26478==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26478==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26478==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26478==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26478==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26478==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26478==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26478==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26478==    by 0x263BAD: main (ffmpeg.c:4787)
==26478== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26478== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==26478==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26478==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26478==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26478==    by 0x5B11F5: build_table (bitstream.c:168)
==26478==    by 0x5B14D5: build_table (bitstream.c:223)
==26478==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26478==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26478==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26478==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26478==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26478==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26478==    by 0x263C49: transcode (ffmpeg.c:4585)
==26478==    by 0x263C49: main (ffmpeg.c:4814)
==26478== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26478== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==26478==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26478==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26478==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26478==    by 0x5B11F5: build_table (bitstream.c:168)
==26478==    by 0x5B14D5: build_table (bitstream.c:223)
==26478==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26478==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26478==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26478==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26478==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26478==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26478==    by 0x263C49: transcode (ffmpeg.c:4585)
==26478==    by 0x263C49: main (ffmpeg.c:4814)
==26478== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26478== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==26478==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26478==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26478==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26478==    by 0x5B11F5: build_table (bitstream.c:168)
==26478==    by 0x5B14D5: build_table (bitstream.c:223)
==26478==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26478==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26478==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26478==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26478==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26478==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26478==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26478==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26478==    by 0x263BAD: main (ffmpeg.c:4787)
==26478== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26478== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==26478==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26478==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26478==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26478==    by 0x5B11F5: build_table (bitstream.c:168)
==26478==    by 0x5B14D5: build_table (bitstream.c:223)
==26478==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26478==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26478==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26478==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26478==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26478==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26478==    by 0x263C49: transcode (ffmpeg.c:4585)
==26478==    by 0x263C49: main (ffmpeg.c:4814)
==26478== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26478== LEAK SUMMARY:
==26478==    definitely lost: 110,592 bytes in 28 blocks
==26478==    indirectly lost: 0 bytes in 0 blocks
==26478==      possibly lost: 0 bytes in 0 blocks
==26478==    still reachable: 0 bytes in 0 blocks
==26478==         suppressed: 0 bytes in 0 blocks
==26478== 
==26478== For counts of detected and suppressed errors, rerun with: -v
==26478== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth1-mpeg4-nsse1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth1-mpeg4-nsse	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth1-mpeg4-nsse	2018-04-03 13:24:22.762945870 +0000
@@ -1,4 +1,2 @@
 1c2eac81a7768afe8dba1df85e977aec *tests/data/fate/vsynth1-mpeg4-nsse.avi
 886846 tests/data/fate/vsynth1-mpeg4-nsse.avi
-a987cb2e49284ea83174e3a2c6527173 *tests/data/fate/vsynth1-mpeg4-nsse.out.rawvideo
-stddev:    6.00 PSNR: 32.57 MAXDIFF:   73 bytes:  7603200/  7603200
==26466== Memcheck, a memory error detector
==26466== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26466== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26466== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 7 -cmp nsse -subcmp nsse -mbcmp nsse -precmp nsse -skipcmp nsse -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-nsse.avi
==26466== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100ec0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-nsse.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 17 q=7.0 Lsize=     866kB time=00:00:02.00 bitrate=3547.4kbits/s speed=0.684x    
video:859kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.781276%
==26466== 
==26466== HEAP SUMMARY:
==26466==     in use at exit: 0 bytes in 0 blocks
==26466==   total heap usage: 5,899 allocs, 5,899 frees, 11,035,094 bytes allocated
==26466== 
==26466== All heap blocks were freed -- no leaks are possible
==26466== 
==26466== For counts of detected and suppressed errors, rerun with: -v
==26466== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==26474== Memcheck, a memory error detector
==26474== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26474== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26474== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-nsse.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-nsse.out.rawvideo
==26474== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-nsse.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 3547 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 3591 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-nsse.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.00 bitrate=30412.8kbits/s speed=3.34x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==26474== 
==26474== HEAP SUMMARY:
==26474==     in use at exit: 110,592 bytes in 28 blocks
==26474==   total heap usage: 6,385 allocs, 6,357 frees, 11,599,393 bytes allocated
==26474== 
==26474== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==26474==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26474==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26474==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26474==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26474==    by 0x5B11F5: build_table (bitstream.c:168)
==26474==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26474==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26474==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26474==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26474==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26474==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26474==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26474==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26474==    by 0x263BAD: main (ffmpeg.c:4787)
==26474== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26474== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==26474==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26474==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26474==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26474==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26474==    by 0x5B11F5: build_table (bitstream.c:168)
==26474==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26474==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26474==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26474==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26474==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26474==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26474==    by 0x263C49: transcode (ffmpeg.c:4585)
==26474==    by 0x263C49: main (ffmpeg.c:4814)
==26474== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26474== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==26474==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26474==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26474==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26474==    by 0x5B11F5: build_table (bitstream.c:168)
==26474==    by 0x5B14D5: build_table (bitstream.c:223)
==26474==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26474==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26474==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26474==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26474==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26474==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26474==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26474==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26474==    by 0x263BAD: main (ffmpeg.c:4787)
==26474== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26474== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==26474==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26474==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26474==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26474==    by 0x5B11F5: build_table (bitstream.c:168)
==26474==    by 0x5B14D5: build_table (bitstream.c:223)
==26474==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26474==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26474==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26474==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26474==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26474==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26474==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26474==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26474==    by 0x263BAD: main (ffmpeg.c:4787)
==26474== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26474== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==26474==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26474==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26474==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26474==    by 0x5B11F5: build_table (bitstream.c:168)
==26474==    by 0x5B14D5: build_table (bitstream.c:223)
==26474==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26474==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26474==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26474==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26474==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26474==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26474==    by 0x263C49: transcode (ffmpeg.c:4585)
==26474==    by 0x263C49: main (ffmpeg.c:4814)
==26474== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26474== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==26474==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26474==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26474==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26474==    by 0x5B11F5: build_table (bitstream.c:168)
==26474==    by 0x5B14D5: build_table (bitstream.c:223)
==26474==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26474==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26474==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26474==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26474==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26474==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26474==    by 0x263C49: transcode (ffmpeg.c:4585)
==26474==    by 0x263C49: main (ffmpeg.c:4814)
==26474== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26474== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==26474==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26474==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26474==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26474==    by 0x5B11F5: build_table (bitstream.c:168)
==26474==    by 0x5B14D5: build_table (bitstream.c:223)
==26474==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26474==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26474==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26474==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26474==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26474==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26474==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26474==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26474==    by 0x263BAD: main (ffmpeg.c:4787)
==26474== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26474== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==26474==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26474==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26474==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26474==    by 0x5B11F5: build_table (bitstream.c:168)
==26474==    by 0x5B14D5: build_table (bitstream.c:223)
==26474==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26474==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26474==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26474==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26474==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26474==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26474==    by 0x263C49: transcode (ffmpeg.c:4585)
==26474==    by 0x263C49: main (ffmpeg.c:4814)
==26474== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26474== LEAK SUMMARY:
==26474==    definitely lost: 110,592 bytes in 28 blocks
==26474==    indirectly lost: 0 bytes in 0 blocks
==26474==      possibly lost: 0 bytes in 0 blocks
==26474==    still reachable: 0 bytes in 0 blocks
==26474==         suppressed: 0 bytes in 0 blocks
==26474== 
==26474== For counts of detected and suppressed errors, rerun with: -v
==26474== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth1-mpeg4-qpel1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth1-mpeg4-qpel	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth1-mpeg4-qpel	2018-04-03 13:24:23.406278790 +0000
@@ -1,4 +1,2 @@
 cb55178feaf790db7bca758708f989dd *tests/data/fate/vsynth1-mpeg4-qpel.avi
 858684 tests/data/fate/vsynth1-mpeg4-qpel.avi
-5089090df7169eb482532df5471d7f5f *tests/data/fate/vsynth1-mpeg4-qpel.out.rawvideo
-stddev:    5.63 PSNR: 33.11 MAXDIFF:   70 bytes:  7603200/  7603200
==26378== Memcheck, a memory error detector
==26378== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26378== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26378== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 7 -flags +mv4+qpel -mbd 2 -bf 2 -cmp 1 -subcmp 2 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-qpel.avi
==26378== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100f80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-qpel.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps=2.7 q=7.0 Lsize=     839kB time=00:00:01.96 bitrate=3504.8kbits/s speed=0.106x    
video:832kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.807343%
==26378== 
==26378== HEAP SUMMARY:
==26378==     in use at exit: 0 bytes in 0 blocks
==26378==   total heap usage: 6,236 allocs, 6,236 frees, 12,240,855 bytes allocated
==26378== 
==26378== All heap blocks were freed -- no leaks are possible
==26378== 
==26378== For counts of detected and suppressed errors, rerun with: -v
==26378== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==26482== Memcheck, a memory error detector
==26482== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26482== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26482== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-qpel.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-qpel.out.rawvideo
==26482== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-qpel.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 3434 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 3476 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-qpel.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.04 bitrate=29816.5kbits/s speed=2.62x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==26482== 
==26482== HEAP SUMMARY:
==26482==     in use at exit: 110,592 bytes in 28 blocks
==26482==   total heap usage: 5,955 allocs, 5,927 frees, 11,883,895 bytes allocated
==26482== 
==26482== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==26482==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26482==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26482==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26482==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26482==    by 0x5B11F5: build_table (bitstream.c:168)
==26482==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26482==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26482==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26482==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26482==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26482==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26482==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26482==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26482==    by 0x263BAD: main (ffmpeg.c:4787)
==26482== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26482== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==26482==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26482==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26482==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26482==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26482==    by 0x5B11F5: build_table (bitstream.c:168)
==26482==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26482==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26482==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26482==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26482==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26482==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26482==    by 0x263C49: transcode (ffmpeg.c:4585)
==26482==    by 0x263C49: main (ffmpeg.c:4814)
==26482== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26482== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==26482==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26482==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26482==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26482==    by 0x5B11F5: build_table (bitstream.c:168)
==26482==    by 0x5B14D5: build_table (bitstream.c:223)
==26482==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26482==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26482==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26482==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26482==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26482==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26482==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26482==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26482==    by 0x263BAD: main (ffmpeg.c:4787)
==26482== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26482== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==26482==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26482==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26482==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26482==    by 0x5B11F5: build_table (bitstream.c:168)
==26482==    by 0x5B14D5: build_table (bitstream.c:223)
==26482==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26482==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26482==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26482==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26482==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26482==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26482==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26482==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26482==    by 0x263BAD: main (ffmpeg.c:4787)
==26482== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26482== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==26482==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26482==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26482==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26482==    by 0x5B11F5: build_table (bitstream.c:168)
==26482==    by 0x5B14D5: build_table (bitstream.c:223)
==26482==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26482==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26482==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26482==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26482==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26482==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26482==    by 0x263C49: transcode (ffmpeg.c:4585)
==26482==    by 0x263C49: main (ffmpeg.c:4814)
==26482== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26482== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==26482==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26482==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26482==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26482==    by 0x5B11F5: build_table (bitstream.c:168)
==26482==    by 0x5B14D5: build_table (bitstream.c:223)
==26482==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26482==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26482==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26482==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26482==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26482==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26482==    by 0x263C49: transcode (ffmpeg.c:4585)
==26482==    by 0x263C49: main (ffmpeg.c:4814)
==26482== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26482== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==26482==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26482==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26482==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26482==    by 0x5B11F5: build_table (bitstream.c:168)
==26482==    by 0x5B14D5: build_table (bitstream.c:223)
==26482==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26482==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26482==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26482==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26482==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26482==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26482==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26482==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26482==    by 0x263BAD: main (ffmpeg.c:4787)
==26482== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26482== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==26482==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26482==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26482==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26482==    by 0x5B11F5: build_table (bitstream.c:168)
==26482==    by 0x5B14D5: build_table (bitstream.c:223)
==26482==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26482==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26482==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26482==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26482==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26482==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26482==    by 0x263C49: transcode (ffmpeg.c:4585)
==26482==    by 0x263C49: main (ffmpeg.c:4814)
==26482== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26482== LEAK SUMMARY:
==26482==    definitely lost: 110,592 bytes in 28 blocks
==26482==    indirectly lost: 0 bytes in 0 blocks
==26482==      possibly lost: 0 bytes in 0 blocks
==26482==    still reachable: 0 bytes in 0 blocks
==26482==         suppressed: 0 bytes in 0 blocks
==26482== 
==26482== For counts of detected and suppressed errors, rerun with: -v
==26482== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth1-mpeg4-qprd1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth1-mpeg4-qprd	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth1-mpeg4-qprd	2018-04-03 13:24:16.656283134 +0000
@@ -1,4 +1,2 @@
 14612d85cd7f77de7b5e6345240535ba *tests/data/fate/vsynth1-mpeg4-qprd.avi
 710676 tests/data/fate/vsynth1-mpeg4-qprd.avi
-693231ac7e6fbf8758415f9f2509408d *tests/data/fate/vsynth1-mpeg4-qprd.out.rawvideo
-stddev:    9.79 PSNR: 28.31 MAXDIFF:  176 bytes:  7603200/  7603200
==26336== Memcheck, a memory error detector
==26336== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26336== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26336== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 450k -bf 2 -trellis 1 -flags +mv4 -mpv_flags +qp_rd+mv0 -cmp 2 -subcmp 2 -mbd rd -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-qprd.avi
==26336== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7101200] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-qprd.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 450 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/450000 buffer size: 0 vbv_delay: -1
frame=   50 fps=3.2 q=30.3 Lsize=     694kB time=00:00:01.96 bitrate=2900.7kbits/s speed=0.124x    
video:687kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.976552%
==26336== 
==26336== HEAP SUMMARY:
==26336==     in use at exit: 0 bytes in 0 blocks
==26336==   total heap usage: 6,282 allocs, 6,282 frees, 12,095,364 bytes allocated
==26336== 
==26336== All heap blocks were freed -- no leaks are possible
==26336== 
==26336== For counts of detected and suppressed errors, rerun with: -v
==26336== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==26411== Memcheck, a memory error detector
==26411== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26411== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26411== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-qprd.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-qprd.out.rawvideo
==26411== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-qprd.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 2842 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 2872 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-qprd.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.04 bitrate=29816.5kbits/s speed= 3.3x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==26411== 
==26411== HEAP SUMMARY:
==26411==     in use at exit: 110,592 bytes in 28 blocks
==26411==   total heap usage: 5,955 allocs, 5,927 frees, 11,587,887 bytes allocated
==26411== 
==26411== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==26411==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26411==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26411==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26411==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26411==    by 0x5B11F5: build_table (bitstream.c:168)
==26411==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26411==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26411==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26411==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26411==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26411==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26411==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26411==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26411==    by 0x263BAD: main (ffmpeg.c:4787)
==26411== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26411== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==26411==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26411==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26411==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26411==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26411==    by 0x5B11F5: build_table (bitstream.c:168)
==26411==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26411==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26411==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26411==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26411==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26411==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26411==    by 0x263C49: transcode (ffmpeg.c:4585)
==26411==    by 0x263C49: main (ffmpeg.c:4814)
==26411== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26411== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==26411==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26411==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26411==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26411==    by 0x5B11F5: build_table (bitstream.c:168)
==26411==    by 0x5B14D5: build_table (bitstream.c:223)
==26411==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26411==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26411==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26411==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26411==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26411==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26411==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26411==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26411==    by 0x263BAD: main (ffmpeg.c:4787)
==26411== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26411== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==26411==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26411==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26411==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26411==    by 0x5B11F5: build_table (bitstream.c:168)
==26411==    by 0x5B14D5: build_table (bitstream.c:223)
==26411==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26411==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26411==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26411==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26411==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26411==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26411==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26411==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26411==    by 0x263BAD: main (ffmpeg.c:4787)
==26411== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26411== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==26411==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26411==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26411==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26411==    by 0x5B11F5: build_table (bitstream.c:168)
==26411==    by 0x5B14D5: build_table (bitstream.c:223)
==26411==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26411==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26411==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26411==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26411==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26411==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26411==    by 0x263C49: transcode (ffmpeg.c:4585)
==26411==    by 0x263C49: main (ffmpeg.c:4814)
==26411== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26411== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==26411==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26411==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26411==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26411==    by 0x5B11F5: build_table (bitstream.c:168)
==26411==    by 0x5B14D5: build_table (bitstream.c:223)
==26411==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26411==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26411==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26411==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26411==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26411==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26411==    by 0x263C49: transcode (ffmpeg.c:4585)
==26411==    by 0x263C49: main (ffmpeg.c:4814)
==26411== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26411== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==26411==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26411==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26411==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26411==    by 0x5B11F5: build_table (bitstream.c:168)
==26411==    by 0x5B14D5: build_table (bitstream.c:223)
==26411==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26411==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26411==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26411==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26411==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26411==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26411==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26411==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26411==    by 0x263BAD: main (ffmpeg.c:4787)
==26411== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26411== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==26411==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26411==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26411==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26411==    by 0x5B11F5: build_table (bitstream.c:168)
==26411==    by 0x5B14D5: build_table (bitstream.c:223)
==26411==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26411==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26411==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26411==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26411==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26411==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26411==    by 0x263C49: transcode (ffmpeg.c:4585)
==26411==    by 0x263C49: main (ffmpeg.c:4814)
==26411== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26411== LEAK SUMMARY:
==26411==    definitely lost: 110,592 bytes in 28 blocks
==26411==    indirectly lost: 0 bytes in 0 blocks
==26411==      possibly lost: 0 bytes in 0 blocks
==26411==    still reachable: 0 bytes in 0 blocks
==26411==         suppressed: 0 bytes in 0 blocks
==26411== 
==26411== For counts of detected and suppressed errors, rerun with: -v
==26411== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth1-mpeg4-rc1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth1-mpeg4-rc	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth1-mpeg4-rc	2018-04-03 13:24:02.076292519 +0000
@@ -1,4 +1,2 @@
 91c127f2acc04f51e0e62bcf0752e064 *tests/data/fate/vsynth1-mpeg4-rc.avi
 830498 tests/data/fate/vsynth1-mpeg4-rc.avi
-9dcd9d022ae14fe1e4a53aa4865464c6 *tests/data/fate/vsynth1-mpeg4-rc.out.rawvideo
-stddev:   10.24 PSNR: 27.92 MAXDIFF:  196 bytes:  7603200/  7603200
==26302== Memcheck, a memory error detector
==26302== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26302== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26302== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 400k -bf 2 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-rc.avi
==26302== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100a00] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-rc.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 400 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/400000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 13 q=30.3 Lsize=     811kB time=00:00:01.96 bitrate=3389.8kbits/s speed=0.507x    
video:804kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.834482%
==26302== 
==26302== HEAP SUMMARY:
==26302==     in use at exit: 0 bytes in 0 blocks
==26302==   total heap usage: 6,193 allocs, 6,193 frees, 12,211,026 bytes allocated
==26302== 
==26302== All heap blocks were freed -- no leaks are possible
==26302== 
==26302== For counts of detected and suppressed errors, rerun with: -v
==26302== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==26344== Memcheck, a memory error detector
==26344== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26344== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26344== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-rc.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-rc.out.rawvideo
==26344== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-rc.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 3321 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 3361 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-rc.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.04 bitrate=29816.5kbits/s speed=3.33x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==26344== 
==26344== HEAP SUMMARY:
==26344==     in use at exit: 110,592 bytes in 28 blocks
==26344==   total heap usage: 5,955 allocs, 5,927 frees, 11,827,523 bytes allocated
==26344== 
==26344== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==26344==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26344==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26344==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26344==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26344==    by 0x5B11F5: build_table (bitstream.c:168)
==26344==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26344==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26344==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26344==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26344==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26344==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26344==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26344==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26344==    by 0x263BAD: main (ffmpeg.c:4787)
==26344== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26344== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==26344==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26344==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26344==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26344==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26344==    by 0x5B11F5: build_table (bitstream.c:168)
==26344==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26344==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26344==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26344==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26344==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26344==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26344==    by 0x263C49: transcode (ffmpeg.c:4585)
==26344==    by 0x263C49: main (ffmpeg.c:4814)
==26344== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26344== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==26344==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26344==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26344==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26344==    by 0x5B11F5: build_table (bitstream.c:168)
==26344==    by 0x5B14D5: build_table (bitstream.c:223)
==26344==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26344==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26344==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26344==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26344==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26344==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26344==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26344==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26344==    by 0x263BAD: main (ffmpeg.c:4787)
==26344== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26344== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==26344==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26344==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26344==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26344==    by 0x5B11F5: build_table (bitstream.c:168)
==26344==    by 0x5B14D5: build_table (bitstream.c:223)
==26344==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26344==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26344==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26344==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26344==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26344==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26344==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26344==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26344==    by 0x263BAD: main (ffmpeg.c:4787)
==26344== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26344== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==26344==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26344==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26344==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26344==    by 0x5B11F5: build_table (bitstream.c:168)
==26344==    by 0x5B14D5: build_table (bitstream.c:223)
==26344==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26344==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26344==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26344==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26344==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26344==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26344==    by 0x263C49: transcode (ffmpeg.c:4585)
==26344==    by 0x263C49: main (ffmpeg.c:4814)
==26344== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26344== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==26344==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26344==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26344==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26344==    by 0x5B11F5: build_table (bitstream.c:168)
==26344==    by 0x5B14D5: build_table (bitstream.c:223)
==26344==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26344==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26344==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26344==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26344==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26344==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26344==    by 0x263C49: transcode (ffmpeg.c:4585)
==26344==    by 0x263C49: main (ffmpeg.c:4814)
==26344== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26344== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==26344==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26344==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26344==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26344==    by 0x5B11F5: build_table (bitstream.c:168)
==26344==    by 0x5B14D5: build_table (bitstream.c:223)
==26344==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26344==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26344==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26344==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26344==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26344==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26344==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26344==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26344==    by 0x263BAD: main (ffmpeg.c:4787)
==26344== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26344== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==26344==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26344==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26344==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26344==    by 0x5B11F5: build_table (bitstream.c:168)
==26344==    by 0x5B14D5: build_table (bitstream.c:223)
==26344==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26344==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26344==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26344==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26344==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26344==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26344==    by 0x263C49: transcode (ffmpeg.c:4585)
==26344==    by 0x263C49: main (ffmpeg.c:4814)
==26344== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26344== LEAK SUMMARY:
==26344==    definitely lost: 110,592 bytes in 28 blocks
==26344==    indirectly lost: 0 bytes in 0 blocks
==26344==      possibly lost: 0 bytes in 0 blocks
==26344==    still reachable: 0 bytes in 0 blocks
==26344==         suppressed: 0 bytes in 0 blocks
==26344== 
==26344== For counts of detected and suppressed errors, rerun with: -v
==26344== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth1-mpeg4-thread1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth1-mpeg4-thread	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth1-mpeg4-thread	2018-04-03 13:24:17.039616220 +0000
@@ -1,4 +1,2 @@
 369ace2f9613261af869efd9fbb3c149 *tests/data/fate/vsynth1-mpeg4-thread.avi
 774754 tests/data/fate/vsynth1-mpeg4-thread.avi
-9aa327a244d5179acf7fe64dc1459bff *tests/data/fate/vsynth1-mpeg4-thread.out.rawvideo
-stddev:   10.13 PSNR: 28.02 MAXDIFF:  183 bytes:  7603200/  7603200
==26399== Memcheck, a memory error detector
==26399== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26399== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26399== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 500k -flags +mv4+aic -data_partitioning 1 -trellis 1 -mbd bits -ps 200 -bf 2 -threads 2 -slices 2 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-thread.avi
==26399== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x71012c0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-thread.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 500 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/500000 buffer size: 0 vbv_delay: -1
frame=   50 fps=5.7 q=30.2 Lsize=     757kB time=00:00:01.96 bitrate=3162.3kbits/s speed=0.224x    
video:750kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.895323%
==26399== 
==26399== HEAP SUMMARY:
==26399==     in use at exit: 0 bytes in 0 blocks
==26399==   total heap usage: 6,296 allocs, 6,296 frees, 13,599,342 bytes allocated
==26399== 
==26399== All heap blocks were freed -- no leaks are possible
==26399== 
==26399== For counts of detected and suppressed errors, rerun with: -v
==26399== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==26415== Memcheck, a memory error detector
==26415== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26415== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==26415== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-thread.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-thread.out.rawvideo
==26415== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-thread.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 3099 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 3134 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-mpeg4-thread.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.04 bitrate=29816.5kbits/s speed=3.22x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==26415== 
==26415== HEAP SUMMARY:
==26415==     in use at exit: 110,592 bytes in 28 blocks
==26415==   total heap usage: 5,955 allocs, 5,927 frees, 11,716,047 bytes allocated
==26415== 
==26415== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==26415==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26415==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26415==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26415==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26415==    by 0x5B11F5: build_table (bitstream.c:168)
==26415==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26415==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26415==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26415==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26415==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26415==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26415==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26415==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26415==    by 0x263BAD: main (ffmpeg.c:4787)
==26415== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26415== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==26415==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==26415==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==26415==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26415==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26415==    by 0x5B11F5: build_table (bitstream.c:168)
==26415==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26415==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26415==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26415==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26415==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26415==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26415==    by 0x263C49: transcode (ffmpeg.c:4585)
==26415==    by 0x263C49: main (ffmpeg.c:4814)
==26415== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26415== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==26415==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26415==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26415==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26415==    by 0x5B11F5: build_table (bitstream.c:168)
==26415==    by 0x5B14D5: build_table (bitstream.c:223)
==26415==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26415==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26415==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26415==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26415==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26415==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26415==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26415==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26415==    by 0x263BAD: main (ffmpeg.c:4787)
==26415== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26415== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==26415==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26415==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26415==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26415==    by 0x5B11F5: build_table (bitstream.c:168)
==26415==    by 0x5B14D5: build_table (bitstream.c:223)
==26415==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26415==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26415==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26415==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26415==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26415==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26415==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26415==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26415==    by 0x263BAD: main (ffmpeg.c:4787)
==26415== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26415== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==26415==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26415==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26415==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26415==    by 0x5B11F5: build_table (bitstream.c:168)
==26415==    by 0x5B14D5: build_table (bitstream.c:223)
==26415==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26415==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==26415==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==26415==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26415==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26415==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26415==    by 0x263C49: transcode (ffmpeg.c:4585)
==26415==    by 0x263C49: main (ffmpeg.c:4814)
==26415== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26415== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==26415==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26415==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26415==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26415==    by 0x5B11F5: build_table (bitstream.c:168)
==26415==    by 0x5B14D5: build_table (bitstream.c:223)
==26415==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26415==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==26415==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==26415==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26415==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26415==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26415==    by 0x263C49: transcode (ffmpeg.c:4585)
==26415==    by 0x263C49: main (ffmpeg.c:4814)
==26415== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26415== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==26415==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26415==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26415==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26415==    by 0x5B11F5: build_table (bitstream.c:168)
==26415==    by 0x5B14D5: build_table (bitstream.c:223)
==26415==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26415==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26415==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26415==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26415==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==26415==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==26415==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==26415==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==26415==    by 0x263BAD: main (ffmpeg.c:4787)
==26415== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==26415== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==26415==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==26415==    by 0xEDE21E: av_realloc_f (mem.c:157)
==26415==    by 0x5B11F5: alloc_table (bitstream.c:119)
==26415==    by 0x5B11F5: build_table (bitstream.c:168)
==26415==    by 0x5B14D5: build_table (bitstream.c:223)
==26415==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==26415==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==26415==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==26415==    by 0x8FE373: avcodec_open2 (utils.c:920)
==26415==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==26415==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==26415==    by 0x263C49: transcode (ffmpeg.c:4585)
==26415==    by 0x263C49: main (ffmpeg.c:4814)
==26415== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==26415== LEAK SUMMARY:
==26415==    definitely lost: 110,592 bytes in 28 blocks
==26415==    indirectly lost: 0 bytes in 0 blocks
==26415==      possibly lost: 0 bytes in 0 blocks
==26415==    still reachable: 0 bytes in 0 blocks
==26415==         suppressed: 0 bytes in 0 blocks
==26415== 
==26415== For counts of detected and suppressed errors, rerun with: -v
==26415== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth2-mpeg41N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth2-mpeg4	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth2-mpeg4	2018-04-03 13:46:51.745397501 +0000
@@ -1,4 +1,2 @@
 adbd883d1701beabd04522d003dafab6 *tests/data/fate/vsynth2-mpeg4.mp4
 159310 tests/data/fate/vsynth2-mpeg4.mp4
-2645405bc5350acc85ad72f3352f5135 *tests/data/fate/vsynth2-mpeg4.out.rawvideo
-stddev:    6.02 PSNR: 32.53 MAXDIFF:   89 bytes:  7603200/  7603200
==14032== Memcheck, a memory error detector
==14032== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14032== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14032== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 10 -flags +mv4 -mbd bits -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f mp4 -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4.mp4
==14032== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100b80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, mp4, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4.mp4':
    Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 18 q=10.0 Lsize=     156kB time=00:00:01.96 bitrate= 650.2kbits/s speed=0.723x    
video:155kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.646294%
==14032== 
==14032== HEAP SUMMARY:
==14032==     in use at exit: 0 bytes in 0 blocks
==14032==   total heap usage: 5,848 allocs, 5,848 frees, 10,015,932 bytes allocated
==14032== 
==14032== All heap blocks were freed -- no leaks are possible
==14032== 
==14032== For counts of detected and suppressed errors, rerun with: -v
==14032== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==14085== Memcheck, a memory error detector
==14085== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14085== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14085== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4.mp4 -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4.out.rawvideo
==14085== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
  Duration: 00:00:02.00, start: 0.000000, bitrate: 637 kb/s
    Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 633 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4.out.rawvideo':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    Stream #0:0(und): Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.00 bitrate=30412.8kbits/s speed=4.11x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==14085== 
==14085== HEAP SUMMARY:
==14085==     in use at exit: 110,592 bytes in 28 blocks
==14085==   total heap usage: 6,245 allocs, 6,217 frees, 10,127,400 bytes allocated
==14085== 
==14085== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==14085==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14085==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14085==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14085==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14085==    by 0x5B11F5: build_table (bitstream.c:168)
==14085==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14085==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14085==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14085==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14085==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14085==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14085==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14085==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14085==    by 0x263BAD: main (ffmpeg.c:4787)
==14085== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14085== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==14085==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14085==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14085==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14085==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14085==    by 0x5B11F5: build_table (bitstream.c:168)
==14085==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14085==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14085==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14085==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14085==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14085==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14085==    by 0x263C49: transcode (ffmpeg.c:4585)
==14085==    by 0x263C49: main (ffmpeg.c:4814)
==14085== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14085== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==14085==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14085==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14085==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14085==    by 0x5B11F5: build_table (bitstream.c:168)
==14085==    by 0x5B14D5: build_table (bitstream.c:223)
==14085==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14085==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14085==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14085==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14085==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14085==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14085==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14085==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14085==    by 0x263BAD: main (ffmpeg.c:4787)
==14085== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14085== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==14085==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14085==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14085==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14085==    by 0x5B11F5: build_table (bitstream.c:168)
==14085==    by 0x5B14D5: build_table (bitstream.c:223)
==14085==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14085==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14085==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14085==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14085==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14085==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14085==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14085==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14085==    by 0x263BAD: main (ffmpeg.c:4787)
==14085== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14085== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==14085==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14085==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14085==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14085==    by 0x5B11F5: build_table (bitstream.c:168)
==14085==    by 0x5B14D5: build_table (bitstream.c:223)
==14085==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14085==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14085==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14085==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14085==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14085==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14085==    by 0x263C49: transcode (ffmpeg.c:4585)
==14085==    by 0x263C49: main (ffmpeg.c:4814)
==14085== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14085== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==14085==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14085==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14085==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14085==    by 0x5B11F5: build_table (bitstream.c:168)
==14085==    by 0x5B14D5: build_table (bitstream.c:223)
==14085==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14085==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14085==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14085==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14085==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14085==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14085==    by 0x263C49: transcode (ffmpeg.c:4585)
==14085==    by 0x263C49: main (ffmpeg.c:4814)
==14085== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14085== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==14085==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14085==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14085==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14085==    by 0x5B11F5: build_table (bitstream.c:168)
==14085==    by 0x5B14D5: build_table (bitstream.c:223)
==14085==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14085==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14085==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14085==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14085==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14085==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14085==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14085==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14085==    by 0x263BAD: main (ffmpeg.c:4787)
==14085== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14085== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==14085==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14085==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14085==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14085==    by 0x5B11F5: build_table (bitstream.c:168)
==14085==    by 0x5B14D5: build_table (bitstream.c:223)
==14085==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14085==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14085==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14085==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14085==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14085==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14085==    by 0x263C49: transcode (ffmpeg.c:4585)
==14085==    by 0x263C49: main (ffmpeg.c:4814)
==14085== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14085== LEAK SUMMARY:
==14085==    definitely lost: 110,592 bytes in 28 blocks
==14085==    indirectly lost: 0 bytes in 0 blocks
==14085==      possibly lost: 0 bytes in 0 blocks
==14085==    still reachable: 0 bytes in 0 blocks
==14085==         suppressed: 0 bytes in 0 blocks
==14085== 
==14085== For counts of detected and suppressed errors, rerun with: -v
==14085== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth2-mpeg4-adap1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth2-mpeg4-adap	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth2-mpeg4-adap	2018-04-03 13:47:03.602056389 +0000
@@ -1,4 +1,2 @@
 4bff98da2342836476da817428594403 *tests/data/fate/vsynth2-mpeg4-adap.avi
 213508 tests/data/fate/vsynth2-mpeg4-adap.avi
-0c709f2b81f4593eaa29490332c2cb39 *tests/data/fate/vsynth2-mpeg4-adap.out.rawvideo
-stddev:    4.87 PSNR: 34.36 MAXDIFF:   86 bytes:  7603200/  7603200
==14106== Memcheck, a memory error detector
==14106== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14106== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14106== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 550k -bf 2 -flags +mv4 -trellis 1 -cmp 1 -subcmp 2 -mbd rd -scplx_mask 0.3 -mpv_flags +mv0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-adap.avi
==14106== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7101380] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-adap.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 550 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/550000 buffer size: 0 vbv_delay: -1
frame=   50 fps=5.5 q=3.2 Lsize=     209kB time=00:00:01.96 bitrate= 871.5kbits/s speed=0.215x    
video:202kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.325655%
==14106== 
==14106== HEAP SUMMARY:
==14106==     in use at exit: 0 bytes in 0 blocks
==14106==   total heap usage: 6,300 allocs, 6,300 frees, 11,479,201 bytes allocated
==14106== 
==14106== All heap blocks were freed -- no leaks are possible
==14106== 
==14106== For counts of detected and suppressed errors, rerun with: -v
==14106== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==14150== Memcheck, a memory error detector
==14150== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14150== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14150== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-adap.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-adap.out.rawvideo
==14150== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-adap.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 854 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 843 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-adap.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.04 bitrate=29816.5kbits/s speed=3.43x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==14150== 
==14150== HEAP SUMMARY:
==14150==     in use at exit: 110,592 bytes in 28 blocks
==14150==   total heap usage: 5,955 allocs, 5,927 frees, 10,593,553 bytes allocated
==14150== 
==14150== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==14150==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14150==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14150==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14150==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14150==    by 0x5B11F5: build_table (bitstream.c:168)
==14150==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14150==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14150==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14150==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14150==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14150==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14150==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14150==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14150==    by 0x263BAD: main (ffmpeg.c:4787)
==14150== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14150== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==14150==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14150==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14150==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14150==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14150==    by 0x5B11F5: build_table (bitstream.c:168)
==14150==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14150==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14150==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14150==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14150==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14150==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14150==    by 0x263C49: transcode (ffmpeg.c:4585)
==14150==    by 0x263C49: main (ffmpeg.c:4814)
==14150== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14150== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==14150==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14150==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14150==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14150==    by 0x5B11F5: build_table (bitstream.c:168)
==14150==    by 0x5B14D5: build_table (bitstream.c:223)
==14150==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14150==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14150==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14150==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14150==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14150==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14150==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14150==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14150==    by 0x263BAD: main (ffmpeg.c:4787)
==14150== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14150== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==14150==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14150==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14150==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14150==    by 0x5B11F5: build_table (bitstream.c:168)
==14150==    by 0x5B14D5: build_table (bitstream.c:223)
==14150==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14150==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14150==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14150==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14150==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14150==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14150==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14150==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14150==    by 0x263BAD: main (ffmpeg.c:4787)
==14150== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14150== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==14150==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14150==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14150==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14150==    by 0x5B11F5: build_table (bitstream.c:168)
==14150==    by 0x5B14D5: build_table (bitstream.c:223)
==14150==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14150==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14150==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14150==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14150==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14150==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14150==    by 0x263C49: transcode (ffmpeg.c:4585)
==14150==    by 0x263C49: main (ffmpeg.c:4814)
==14150== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14150== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==14150==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14150==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14150==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14150==    by 0x5B11F5: build_table (bitstream.c:168)
==14150==    by 0x5B14D5: build_table (bitstream.c:223)
==14150==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14150==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14150==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14150==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14150==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14150==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14150==    by 0x263C49: transcode (ffmpeg.c:4585)
==14150==    by 0x263C49: main (ffmpeg.c:4814)
==14150== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14150== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==14150==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14150==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14150==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14150==    by 0x5B11F5: build_table (bitstream.c:168)
==14150==    by 0x5B14D5: build_table (bitstream.c:223)
==14150==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14150==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14150==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14150==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14150==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14150==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14150==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14150==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14150==    by 0x263BAD: main (ffmpeg.c:4787)
==14150== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14150== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==14150==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14150==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14150==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14150==    by 0x5B11F5: build_table (bitstream.c:168)
==14150==    by 0x5B14D5: build_table (bitstream.c:223)
==14150==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14150==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14150==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14150==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14150==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14150==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14150==    by 0x263C49: transcode (ffmpeg.c:4585)
==14150==    by 0x263C49: main (ffmpeg.c:4814)
==14150== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14150== LEAK SUMMARY:
==14150==    definitely lost: 110,592 bytes in 28 blocks
==14150==    indirectly lost: 0 bytes in 0 blocks
==14150==      possibly lost: 0 bytes in 0 blocks
==14150==    still reachable: 0 bytes in 0 blocks
==14150==         suppressed: 0 bytes in 0 blocks
==14150== 
==14150== For counts of detected and suppressed errors, rerun with: -v
==14150== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth2-mpeg4-adv1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth2-mpeg4-adv	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth2-mpeg4-adv	2018-04-03 13:46:54.162062582 +0000
@@ -1,4 +1,2 @@
 b2021365c46e52a93492e2a8697762e5 *tests/data/fate/vsynth2-mpeg4-adv.avi
 187246 tests/data/fate/vsynth2-mpeg4-adv.avi
-505bdffb9b051dc2123d07a4ae183faf *tests/data/fate/vsynth2-mpeg4-adv.out.rawvideo
-stddev:    5.51 PSNR: 33.30 MAXDIFF:   80 bytes:  7603200/  7603200
==14066== Memcheck, a memory error detector
==14066== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14066== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14066== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 9 -flags +mv4+aic -data_partitioning 1 -trellis 1 -mbd bits -ps 200 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-adv.avi
==14066== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100e80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-adv.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 14 q=9.0 Lsize=     183kB time=00:00:02.00 bitrate= 749.0kbits/s speed=0.546x    
video:176kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.814466%
==14066== 
==14066== HEAP SUMMARY:
==14066==     in use at exit: 0 bytes in 0 blocks
==14066==   total heap usage: 5,885 allocs, 5,885 frees, 11,492,112 bytes allocated
==14066== 
==14066== All heap blocks were freed -- no leaks are possible
==14066== 
==14066== For counts of detected and suppressed errors, rerun with: -v
==14066== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==14110== Memcheck, a memory error detector
==14110== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14110== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14110== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-adv.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-adv.out.rawvideo
==14110== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-adv.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 748 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 736 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-adv.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.00 bitrate=30412.8kbits/s speed=3.99x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==14110== 
==14110== HEAP SUMMARY:
==14110==     in use at exit: 110,592 bytes in 28 blocks
==14110==   total heap usage: 6,385 allocs, 6,357 frees, 10,200,179 bytes allocated
==14110== 
==14110== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==14110==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14110==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14110==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14110==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14110==    by 0x5B11F5: build_table (bitstream.c:168)
==14110==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14110==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14110==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14110==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14110==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14110==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14110==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14110==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14110==    by 0x263BAD: main (ffmpeg.c:4787)
==14110== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14110== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==14110==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14110==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14110==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14110==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14110==    by 0x5B11F5: build_table (bitstream.c:168)
==14110==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14110==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14110==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14110==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14110==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14110==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14110==    by 0x263C49: transcode (ffmpeg.c:4585)
==14110==    by 0x263C49: main (ffmpeg.c:4814)
==14110== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14110== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==14110==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14110==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14110==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14110==    by 0x5B11F5: build_table (bitstream.c:168)
==14110==    by 0x5B14D5: build_table (bitstream.c:223)
==14110==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14110==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14110==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14110==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14110==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14110==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14110==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14110==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14110==    by 0x263BAD: main (ffmpeg.c:4787)
==14110== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14110== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==14110==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14110==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14110==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14110==    by 0x5B11F5: build_table (bitstream.c:168)
==14110==    by 0x5B14D5: build_table (bitstream.c:223)
==14110==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14110==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14110==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14110==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14110==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14110==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14110==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14110==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14110==    by 0x263BAD: main (ffmpeg.c:4787)
==14110== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14110== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==14110==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14110==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14110==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14110==    by 0x5B11F5: build_table (bitstream.c:168)
==14110==    by 0x5B14D5: build_table (bitstream.c:223)
==14110==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14110==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14110==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14110==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14110==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14110==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14110==    by 0x263C49: transcode (ffmpeg.c:4585)
==14110==    by 0x263C49: main (ffmpeg.c:4814)
==14110== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14110== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==14110==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14110==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14110==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14110==    by 0x5B11F5: build_table (bitstream.c:168)
==14110==    by 0x5B14D5: build_table (bitstream.c:223)
==14110==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14110==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14110==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14110==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14110==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14110==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14110==    by 0x263C49: transcode (ffmpeg.c:4585)
==14110==    by 0x263C49: main (ffmpeg.c:4814)
==14110== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14110== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==14110==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14110==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14110==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14110==    by 0x5B11F5: build_table (bitstream.c:168)
==14110==    by 0x5B14D5: build_table (bitstream.c:223)
==14110==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14110==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14110==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14110==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14110==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14110==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14110==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14110==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14110==    by 0x263BAD: main (ffmpeg.c:4787)
==14110== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14110== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==14110==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14110==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14110==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14110==    by 0x5B11F5: build_table (bitstream.c:168)
==14110==    by 0x5B14D5: build_table (bitstream.c:223)
==14110==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14110==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14110==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14110==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14110==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14110==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14110==    by 0x263C49: transcode (ffmpeg.c:4585)
==14110==    by 0x263C49: main (ffmpeg.c:4814)
==14110== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14110== LEAK SUMMARY:
==14110==    definitely lost: 110,592 bytes in 28 blocks
==14110==    indirectly lost: 0 bytes in 0 blocks
==14110==      possibly lost: 0 bytes in 0 blocks
==14110==    still reachable: 0 bytes in 0 blocks
==14110==         suppressed: 0 bytes in 0 blocks
==14110== 
==14110== For counts of detected and suppressed errors, rerun with: -v
==14110== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth2-mpeg4-error1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth2-mpeg4-error	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth2-mpeg4-error	2018-04-03 13:47:09.512052512 +0000
@@ -1,4 +1,2 @@
 0bee773ac15fd1edd56e1dd28704292f *tests/data/fate/vsynth2-mpeg4-error.avi
 236060 tests/data/fate/vsynth2-mpeg4-error.avi
-f67a99fe41cd22a2a6713965eebb990e *tests/data/fate/vsynth2-mpeg4-error.out.rawvideo
-stddev:   15.66 PSNR: 24.23 MAXDIFF:  236 bytes:  7603200/  7603200
==14175== Memcheck, a memory error detector
==14175== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14175== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14175== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 7 -flags +mv4+aic -data_partitioning 1 -mbd rd -ps 250 -error_rate 10 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-error.avi
==14175== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100e80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-error.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 16 q=7.0 Lsize=     231kB time=00:00:02.00 bitrate= 944.2kbits/s speed=0.638x    
video:224kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.001108%
==14175== 
==14175== HEAP SUMMARY:
==14175==     in use at exit: 0 bytes in 0 blocks
==14175==   total heap usage: 5,882 allocs, 5,882 frees, 11,540,836 bytes allocated
==14175== 
==14175== All heap blocks were freed -- no leaks are possible
==14175== 
==14175== For counts of detected and suppressed errors, rerun with: -v
==14175== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==14215== Memcheck, a memory error detector
==14215== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14215== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14215== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-error.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-error.out.rawvideo
==14215== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-error.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 944 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 935 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
[mpeg4 @ 0x71692c0] concealing 64 DC, 64 AC, 64 MV errors in I frame
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-error.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
[mpeg4 @ 0x71692c0] concealing 52 DC, 52 AC, 52 MV errors in I frame
[mpeg4 @ 0x71692c0] concealing 168 DC, 168 AC, 168 MV errors in P frame
[mpeg4 @ 0x71692c0] concealing 164 DC, 164 AC, 164 MV errors in P frame
[mpeg4 @ 0x71692c0] concealing 133 DC, 133 AC, 133 MV errors in I frame
[mpeg4 @ 0x71692c0] concealing 159 DC, 159 AC, 159 MV errors in P frame
[mpeg4 @ 0x71692c0] concealing 163 DC, 163 AC, 163 MV errors in P frame
[mpeg4 @ 0x71692c0] concealing 160 DC, 160 AC, 160 MV errors in P frame
[mpeg4 @ 0x71692c0] concealing 152 DC, 152 AC, 152 MV errors in P frame
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.00 bitrate=30412.8kbits/s speed=2.05x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==14215== 
==14215== HEAP SUMMARY:
==14215==     in use at exit: 110,592 bytes in 28 blocks
==14215==   total heap usage: 6,439 allocs, 6,411 frees, 10,826,587 bytes allocated
==14215== 
==14215== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==14215==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14215==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14215==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14215==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14215==    by 0x5B11F5: build_table (bitstream.c:168)
==14215==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14215==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14215==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14215==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14215==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14215==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14215==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14215==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14215==    by 0x263BAD: main (ffmpeg.c:4787)
==14215== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14215== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==14215==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14215==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14215==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14215==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14215==    by 0x5B11F5: build_table (bitstream.c:168)
==14215==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14215==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14215==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14215==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14215==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14215==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14215==    by 0x263C49: transcode (ffmpeg.c:4585)
==14215==    by 0x263C49: main (ffmpeg.c:4814)
==14215== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14215== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==14215==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14215==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14215==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14215==    by 0x5B11F5: build_table (bitstream.c:168)
==14215==    by 0x5B14D5: build_table (bitstream.c:223)
==14215==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14215==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14215==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14215==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14215==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14215==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14215==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14215==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14215==    by 0x263BAD: main (ffmpeg.c:4787)
==14215== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14215== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==14215==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14215==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14215==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14215==    by 0x5B11F5: build_table (bitstream.c:168)
==14215==    by 0x5B14D5: build_table (bitstream.c:223)
==14215==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14215==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14215==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14215==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14215==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14215==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14215==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14215==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14215==    by 0x263BAD: main (ffmpeg.c:4787)
==14215== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14215== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==14215==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14215==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14215==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14215==    by 0x5B11F5: build_table (bitstream.c:168)
==14215==    by 0x5B14D5: build_table (bitstream.c:223)
==14215==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14215==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14215==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14215==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14215==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14215==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14215==    by 0x263C49: transcode (ffmpeg.c:4585)
==14215==    by 0x263C49: main (ffmpeg.c:4814)
==14215== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14215== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==14215==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14215==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14215==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14215==    by 0x5B11F5: build_table (bitstream.c:168)
==14215==    by 0x5B14D5: build_table (bitstream.c:223)
==14215==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14215==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14215==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14215==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14215==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14215==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14215==    by 0x263C49: transcode (ffmpeg.c:4585)
==14215==    by 0x263C49: main (ffmpeg.c:4814)
==14215== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14215== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==14215==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14215==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14215==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14215==    by 0x5B11F5: build_table (bitstream.c:168)
==14215==    by 0x5B14D5: build_table (bitstream.c:223)
==14215==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14215==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14215==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14215==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14215==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14215==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14215==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14215==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14215==    by 0x263BAD: main (ffmpeg.c:4787)
==14215== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14215== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==14215==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14215==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14215==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14215==    by 0x5B11F5: build_table (bitstream.c:168)
==14215==    by 0x5B14D5: build_table (bitstream.c:223)
==14215==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14215==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14215==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14215==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14215==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14215==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14215==    by 0x263C49: transcode (ffmpeg.c:4585)
==14215==    by 0x263C49: main (ffmpeg.c:4814)
==14215== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14215== LEAK SUMMARY:
==14215==    definitely lost: 110,592 bytes in 28 blocks
==14215==    indirectly lost: 0 bytes in 0 blocks
==14215==      possibly lost: 0 bytes in 0 blocks
==14215==    still reachable: 0 bytes in 0 blocks
==14215==         suppressed: 0 bytes in 0 blocks
==14215== 
==14215== For counts of detected and suppressed errors, rerun with: -v
==14215== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth2-mpeg4-nr1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth2-mpeg4-nr	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth2-mpeg4-nr	2018-04-03 13:47:10.382051942 +0000
@@ -1,4 +1,2 @@
 83bb3f4618f8d6259d48a51bc65b3cbc *tests/data/fate/vsynth2-mpeg4-nr.avi
 206038 tests/data/fate/vsynth2-mpeg4-nr.avi
-b1b0edaec04620b5f9149dce5171939c *tests/data/fate/vsynth2-mpeg4-nr.out.rawvideo
-stddev:    5.32 PSNR: 33.61 MAXDIFF:   78 bytes:  7603200/  7603200
==14194== Memcheck, a memory error detector
==14194== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14194== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14194== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 8 -flags +mv4 -mbd rd -noise_reduction 200 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-nr.avi
==14194== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100cc0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-nr.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 15 q=8.0 Lsize=     201kB time=00:00:02.00 bitrate= 824.2kbits/s speed=0.612x    
video:194kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.453505%
==14194== 
==14194== HEAP SUMMARY:
==14194==     in use at exit: 0 bytes in 0 blocks
==14194==   total heap usage: 5,855 allocs, 5,855 frees, 10,232,888 bytes allocated
==14194== 
==14194== All heap blocks were freed -- no leaks are possible
==14194== 
==14194== For counts of detected and suppressed errors, rerun with: -v
==14194== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==14219== Memcheck, a memory error detector
==14219== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14219== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14219== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-nr.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-nr.out.rawvideo
==14219== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-nr.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 824 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 812 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-nr.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.00 bitrate=30412.8kbits/s speed=3.93x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==14219== 
==14219== HEAP SUMMARY:
==14219==     in use at exit: 110,592 bytes in 28 blocks
==14219==   total heap usage: 6,385 allocs, 6,357 frees, 10,237,763 bytes allocated
==14219== 
==14219== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==14219==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14219==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14219==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14219==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14219==    by 0x5B11F5: build_table (bitstream.c:168)
==14219==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14219==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14219==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14219==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14219==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14219==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14219==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14219==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14219==    by 0x263BAD: main (ffmpeg.c:4787)
==14219== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14219== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==14219==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14219==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14219==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14219==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14219==    by 0x5B11F5: build_table (bitstream.c:168)
==14219==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14219==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14219==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14219==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14219==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14219==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14219==    by 0x263C49: transcode (ffmpeg.c:4585)
==14219==    by 0x263C49: main (ffmpeg.c:4814)
==14219== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14219== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==14219==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14219==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14219==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14219==    by 0x5B11F5: build_table (bitstream.c:168)
==14219==    by 0x5B14D5: build_table (bitstream.c:223)
==14219==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14219==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14219==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14219==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14219==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14219==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14219==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14219==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14219==    by 0x263BAD: main (ffmpeg.c:4787)
==14219== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14219== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==14219==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14219==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14219==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14219==    by 0x5B11F5: build_table (bitstream.c:168)
==14219==    by 0x5B14D5: build_table (bitstream.c:223)
==14219==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14219==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14219==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14219==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14219==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14219==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14219==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14219==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14219==    by 0x263BAD: main (ffmpeg.c:4787)
==14219== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14219== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==14219==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14219==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14219==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14219==    by 0x5B11F5: build_table (bitstream.c:168)
==14219==    by 0x5B14D5: build_table (bitstream.c:223)
==14219==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14219==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14219==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14219==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14219==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14219==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14219==    by 0x263C49: transcode (ffmpeg.c:4585)
==14219==    by 0x263C49: main (ffmpeg.c:4814)
==14219== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14219== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==14219==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14219==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14219==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14219==    by 0x5B11F5: build_table (bitstream.c:168)
==14219==    by 0x5B14D5: build_table (bitstream.c:223)
==14219==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14219==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14219==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14219==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14219==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14219==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14219==    by 0x263C49: transcode (ffmpeg.c:4585)
==14219==    by 0x263C49: main (ffmpeg.c:4814)
==14219== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14219== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==14219==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14219==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14219==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14219==    by 0x5B11F5: build_table (bitstream.c:168)
==14219==    by 0x5B14D5: build_table (bitstream.c:223)
==14219==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14219==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14219==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14219==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14219==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14219==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14219==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14219==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14219==    by 0x263BAD: main (ffmpeg.c:4787)
==14219== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14219== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==14219==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14219==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14219==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14219==    by 0x5B11F5: build_table (bitstream.c:168)
==14219==    by 0x5B14D5: build_table (bitstream.c:223)
==14219==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14219==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14219==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14219==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14219==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14219==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14219==    by 0x263C49: transcode (ffmpeg.c:4585)
==14219==    by 0x263C49: main (ffmpeg.c:4814)
==14219== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14219== LEAK SUMMARY:
==14219==    definitely lost: 110,592 bytes in 28 blocks
==14219==    indirectly lost: 0 bytes in 0 blocks
==14219==      possibly lost: 0 bytes in 0 blocks
==14219==    still reachable: 0 bytes in 0 blocks
==14219==         suppressed: 0 bytes in 0 blocks
==14219== 
==14219== For counts of detected and suppressed errors, rerun with: -v
==14219== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth2-mpeg4-nsse1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth2-mpeg4-nsse	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth2-mpeg4-nsse	2018-04-03 13:47:10.642051771 +0000
@@ -1,4 +1,2 @@
 4fdc2aaa4761f245590a3c78c85f0ae2 *tests/data/fate/vsynth2-mpeg4-nsse.avi
 266100 tests/data/fate/vsynth2-mpeg4-nsse.avi
-9123b1641394250a6edd389d02f249e8 *tests/data/fate/vsynth2-mpeg4-nsse.out.rawvideo
-stddev:    4.83 PSNR: 34.45 MAXDIFF:   59 bytes:  7603200/  7603200
==14211== Memcheck, a memory error detector
==14211== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14211== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14211== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 7 -cmp nsse -subcmp nsse -mbcmp nsse -precmp nsse -skipcmp nsse -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-nsse.avi
==14211== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100ec0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-nsse.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 20 q=7.0 Lsize=     260kB time=00:00:02.00 bitrate=1064.4kbits/s speed=0.788x    
video:253kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.653720%
==14211== 
==14211== HEAP SUMMARY:
==14211==     in use at exit: 0 bytes in 0 blocks
==14211==   total heap usage: 5,898 allocs, 5,898 frees, 10,294,202 bytes allocated
==14211== 
==14211== All heap blocks were freed -- no leaks are possible
==14211== 
==14211== For counts of detected and suppressed errors, rerun with: -v
==14211== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==14223== Memcheck, a memory error detector
==14223== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14223== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14223== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-nsse.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-nsse.out.rawvideo
==14223== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-nsse.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 1064 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 1058 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-nsse.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.00 bitrate=30412.8kbits/s speed=3.82x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==14223== 
==14223== HEAP SUMMARY:
==14223==     in use at exit: 110,592 bytes in 28 blocks
==14223==   total heap usage: 6,385 allocs, 6,357 frees, 10,357,893 bytes allocated
==14223== 
==14223== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==14223==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14223==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14223==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14223==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14223==    by 0x5B11F5: build_table (bitstream.c:168)
==14223==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14223==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14223==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14223==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14223==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14223==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14223==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14223==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14223==    by 0x263BAD: main (ffmpeg.c:4787)
==14223== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14223== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==14223==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14223==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14223==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14223==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14223==    by 0x5B11F5: build_table (bitstream.c:168)
==14223==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14223==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14223==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14223==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14223==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14223==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14223==    by 0x263C49: transcode (ffmpeg.c:4585)
==14223==    by 0x263C49: main (ffmpeg.c:4814)
==14223== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14223== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==14223==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14223==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14223==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14223==    by 0x5B11F5: build_table (bitstream.c:168)
==14223==    by 0x5B14D5: build_table (bitstream.c:223)
==14223==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14223==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14223==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14223==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14223==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14223==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14223==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14223==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14223==    by 0x263BAD: main (ffmpeg.c:4787)
==14223== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14223== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==14223==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14223==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14223==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14223==    by 0x5B11F5: build_table (bitstream.c:168)
==14223==    by 0x5B14D5: build_table (bitstream.c:223)
==14223==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14223==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14223==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14223==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14223==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14223==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14223==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14223==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14223==    by 0x263BAD: main (ffmpeg.c:4787)
==14223== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14223== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==14223==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14223==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14223==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14223==    by 0x5B11F5: build_table (bitstream.c:168)
==14223==    by 0x5B14D5: build_table (bitstream.c:223)
==14223==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14223==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14223==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14223==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14223==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14223==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14223==    by 0x263C49: transcode (ffmpeg.c:4585)
==14223==    by 0x263C49: main (ffmpeg.c:4814)
==14223== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14223== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==14223==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14223==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14223==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14223==    by 0x5B11F5: build_table (bitstream.c:168)
==14223==    by 0x5B14D5: build_table (bitstream.c:223)
==14223==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14223==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14223==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14223==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14223==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14223==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14223==    by 0x263C49: transcode (ffmpeg.c:4585)
==14223==    by 0x263C49: main (ffmpeg.c:4814)
==14223== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14223== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==14223==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14223==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14223==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14223==    by 0x5B11F5: build_table (bitstream.c:168)
==14223==    by 0x5B14D5: build_table (bitstream.c:223)
==14223==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14223==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14223==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14223==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14223==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14223==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14223==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14223==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14223==    by 0x263BAD: main (ffmpeg.c:4787)
==14223== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14223== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==14223==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14223==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14223==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14223==    by 0x5B11F5: build_table (bitstream.c:168)
==14223==    by 0x5B14D5: build_table (bitstream.c:223)
==14223==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14223==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14223==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14223==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14223==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14223==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14223==    by 0x263C49: transcode (ffmpeg.c:4585)
==14223==    by 0x263C49: main (ffmpeg.c:4814)
==14223== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14223== LEAK SUMMARY:
==14223==    definitely lost: 110,592 bytes in 28 blocks
==14223==    indirectly lost: 0 bytes in 0 blocks
==14223==      possibly lost: 0 bytes in 0 blocks
==14223==    still reachable: 0 bytes in 0 blocks
==14223==         suppressed: 0 bytes in 0 blocks
==14223== 
==14223== For counts of detected and suppressed errors, rerun with: -v
==14223== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth2-mpeg4-qpel1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth2-mpeg4-qpel	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth2-mpeg4-qpel	2018-04-03 13:47:15.888714997 +0000
@@ -1,4 +1,2 @@
 d05dbd6c6b8a57953aea3caa6cab57b0 *tests/data/fate/vsynth2-mpeg4-qpel.avi
 209870 tests/data/fate/vsynth2-mpeg4-qpel.avi
-5313cb1ef8c520de548389d541842c51 *tests/data/fate/vsynth2-mpeg4-qpel.out.rawvideo
-stddev:    4.42 PSNR: 35.22 MAXDIFF:   56 bytes:  7603200/  7603200
==14127== Memcheck, a memory error detector
==14127== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14127== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14127== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 7 -flags +mv4+qpel -mbd 2 -bf 2 -cmp 1 -subcmp 2 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-qpel.avi
==14127== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100f80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-qpel.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps=2.5 q=7.0 Lsize=     205kB time=00:00:01.96 bitrate= 856.6kbits/s speed=0.098x    
video:198kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.388820%
==14127== 
==14127== HEAP SUMMARY:
==14127==     in use at exit: 0 bytes in 0 blocks
==14127==   total heap usage: 6,235 allocs, 6,235 frees, 11,471,897 bytes allocated
==14127== 
==14127== All heap blocks were freed -- no leaks are possible
==14127== 
==14127== For counts of detected and suppressed errors, rerun with: -v
==14127== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==14301== Memcheck, a memory error detector
==14301== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14301== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14301== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-qpel.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-qpel.out.rawvideo
==14301== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-qpel.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 839 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 828 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-qpel.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps= 49 q=-0.0 Lsize=    7425kB time=00:00:02.04 bitrate=29816.5kbits/s speed=2.01x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==14301== 
==14301== HEAP SUMMARY:
==14301==     in use at exit: 110,592 bytes in 28 blocks
==14301==   total heap usage: 5,955 allocs, 5,927 frees, 10,586,263 bytes allocated
==14301== 
==14301== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==14301==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14301==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14301==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14301==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14301==    by 0x5B11F5: build_table (bitstream.c:168)
==14301==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14301==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14301==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14301==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14301==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14301==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14301==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14301==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14301==    by 0x263BAD: main (ffmpeg.c:4787)
==14301== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14301== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==14301==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14301==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14301==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14301==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14301==    by 0x5B11F5: build_table (bitstream.c:168)
==14301==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14301==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14301==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14301==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14301==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14301==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14301==    by 0x263C49: transcode (ffmpeg.c:4585)
==14301==    by 0x263C49: main (ffmpeg.c:4814)
==14301== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14301== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==14301==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14301==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14301==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14301==    by 0x5B11F5: build_table (bitstream.c:168)
==14301==    by 0x5B14D5: build_table (bitstream.c:223)
==14301==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14301==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14301==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14301==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14301==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14301==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14301==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14301==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14301==    by 0x263BAD: main (ffmpeg.c:4787)
==14301== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14301== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==14301==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14301==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14301==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14301==    by 0x5B11F5: build_table (bitstream.c:168)
==14301==    by 0x5B14D5: build_table (bitstream.c:223)
==14301==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14301==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14301==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14301==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14301==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14301==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14301==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14301==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14301==    by 0x263BAD: main (ffmpeg.c:4787)
==14301== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14301== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==14301==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14301==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14301==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14301==    by 0x5B11F5: build_table (bitstream.c:168)
==14301==    by 0x5B14D5: build_table (bitstream.c:223)
==14301==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14301==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14301==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14301==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14301==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14301==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14301==    by 0x263C49: transcode (ffmpeg.c:4585)
==14301==    by 0x263C49: main (ffmpeg.c:4814)
==14301== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14301== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==14301==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14301==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14301==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14301==    by 0x5B11F5: build_table (bitstream.c:168)
==14301==    by 0x5B14D5: build_table (bitstream.c:223)
==14301==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14301==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14301==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14301==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14301==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14301==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14301==    by 0x263C49: transcode (ffmpeg.c:4585)
==14301==    by 0x263C49: main (ffmpeg.c:4814)
==14301== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14301== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==14301==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14301==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14301==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14301==    by 0x5B11F5: build_table (bitstream.c:168)
==14301==    by 0x5B14D5: build_table (bitstream.c:223)
==14301==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14301==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14301==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14301==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14301==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14301==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14301==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14301==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14301==    by 0x263BAD: main (ffmpeg.c:4787)
==14301== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14301== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==14301==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14301==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14301==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14301==    by 0x5B11F5: build_table (bitstream.c:168)
==14301==    by 0x5B14D5: build_table (bitstream.c:223)
==14301==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14301==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14301==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14301==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14301==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14301==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14301==    by 0x263C49: transcode (ffmpeg.c:4585)
==14301==    by 0x263C49: main (ffmpeg.c:4814)
==14301== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14301== LEAK SUMMARY:
==14301==    definitely lost: 110,592 bytes in 28 blocks
==14301==    indirectly lost: 0 bytes in 0 blocks
==14301==      possibly lost: 0 bytes in 0 blocks
==14301==    still reachable: 0 bytes in 0 blocks
==14301==         suppressed: 0 bytes in 0 blocks
==14301== 
==14301== For counts of detected and suppressed errors, rerun with: -v
==14301== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth2-mpeg4-qprd1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth2-mpeg4-qprd	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth2-mpeg4-qprd	2018-04-03 13:47:04.352055897 +0000
@@ -1,4 +1,2 @@
 4ddd2fef35854d9b387bbcbda03dc7f0 *tests/data/fate/vsynth2-mpeg4-qprd.avi
 248706 tests/data/fate/vsynth2-mpeg4-qprd.avi
-baa8d0d57a7fb5e393642cb20efed2c2 *tests/data/fate/vsynth2-mpeg4-qprd.out.rawvideo
-stddev:    4.85 PSNR: 34.40 MAXDIFF:   85 bytes:  7603200/  7603200
==14081== Memcheck, a memory error detector
==14081== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14081== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14081== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 450k -bf 2 -trellis 1 -flags +mv4 -mpv_flags +qp_rd+mv0 -cmp 2 -subcmp 2 -mbd rd -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-qprd.avi
==14081== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7101200] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-qprd.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 450 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/450000 buffer size: 0 vbv_delay: -1
frame=   50 fps=3.9 q=10.5 Lsize=     243kB time=00:00:01.96 bitrate=1015.1kbits/s speed=0.153x    
video:236kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.843320%
==14081== 
==14081== HEAP SUMMARY:
==14081==     in use at exit: 0 bytes in 0 blocks
==14081==   total heap usage: 6,281 allocs, 6,281 frees, 11,513,249 bytes allocated
==14081== 
==14081== All heap blocks were freed -- no leaks are possible
==14081== 
==14081== For counts of detected and suppressed errors, rerun with: -v
==14081== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==14154== Memcheck, a memory error detector
==14154== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14154== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14154== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-qprd.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-qprd.out.rawvideo
==14154== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-qprd.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 994 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 987 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-qprd.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.04 bitrate=29816.5kbits/s speed=3.32x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==14154== 
==14154== HEAP SUMMARY:
==14154==     in use at exit: 110,592 bytes in 28 blocks
==14154==   total heap usage: 5,955 allocs, 5,927 frees, 10,663,941 bytes allocated
==14154== 
==14154== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==14154==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14154==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14154==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14154==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14154==    by 0x5B11F5: build_table (bitstream.c:168)
==14154==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14154==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14154==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14154==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14154==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14154==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14154==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14154==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14154==    by 0x263BAD: main (ffmpeg.c:4787)
==14154== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14154== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==14154==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14154==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14154==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14154==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14154==    by 0x5B11F5: build_table (bitstream.c:168)
==14154==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14154==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14154==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14154==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14154==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14154==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14154==    by 0x263C49: transcode (ffmpeg.c:4585)
==14154==    by 0x263C49: main (ffmpeg.c:4814)
==14154== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14154== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==14154==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14154==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14154==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14154==    by 0x5B11F5: build_table (bitstream.c:168)
==14154==    by 0x5B14D5: build_table (bitstream.c:223)
==14154==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14154==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14154==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14154==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14154==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14154==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14154==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14154==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14154==    by 0x263BAD: main (ffmpeg.c:4787)
==14154== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14154== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==14154==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14154==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14154==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14154==    by 0x5B11F5: build_table (bitstream.c:168)
==14154==    by 0x5B14D5: build_table (bitstream.c:223)
==14154==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14154==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14154==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14154==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14154==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14154==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14154==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14154==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14154==    by 0x263BAD: main (ffmpeg.c:4787)
==14154== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14154== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==14154==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14154==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14154==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14154==    by 0x5B11F5: build_table (bitstream.c:168)
==14154==    by 0x5B14D5: build_table (bitstream.c:223)
==14154==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14154==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14154==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14154==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14154==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14154==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14154==    by 0x263C49: transcode (ffmpeg.c:4585)
==14154==    by 0x263C49: main (ffmpeg.c:4814)
==14154== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14154== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==14154==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14154==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14154==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14154==    by 0x5B11F5: build_table (bitstream.c:168)
==14154==    by 0x5B14D5: build_table (bitstream.c:223)
==14154==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14154==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14154==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14154==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14154==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14154==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14154==    by 0x263C49: transcode (ffmpeg.c:4585)
==14154==    by 0x263C49: main (ffmpeg.c:4814)
==14154== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14154== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==14154==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14154==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14154==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14154==    by 0x5B11F5: build_table (bitstream.c:168)
==14154==    by 0x5B14D5: build_table (bitstream.c:223)
==14154==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14154==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14154==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14154==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14154==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14154==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14154==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14154==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14154==    by 0x263BAD: main (ffmpeg.c:4787)
==14154== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14154== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==14154==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14154==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14154==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14154==    by 0x5B11F5: build_table (bitstream.c:168)
==14154==    by 0x5B14D5: build_table (bitstream.c:223)
==14154==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14154==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14154==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14154==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14154==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14154==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14154==    by 0x263C49: transcode (ffmpeg.c:4585)
==14154==    by 0x263C49: main (ffmpeg.c:4814)
==14154== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14154== LEAK SUMMARY:
==14154==    definitely lost: 110,592 bytes in 28 blocks
==14154==    indirectly lost: 0 bytes in 0 blocks
==14154==      possibly lost: 0 bytes in 0 blocks
==14154==    still reachable: 0 bytes in 0 blocks
==14154==         suppressed: 0 bytes in 0 blocks
==14154== 
==14154== For counts of detected and suppressed errors, rerun with: -v
==14154== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth2-mpeg4-rc1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth2-mpeg4-rc	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth2-mpeg4-rc	2018-04-03 13:46:53.138729920 +0000
@@ -1,4 +1,2 @@
 0cf3a444622becc5d56e9034b226cfe2 *tests/data/fate/vsynth2-mpeg4-rc.avi
 254738 tests/data/fate/vsynth2-mpeg4-rc.avi
-53ef615a87c8ae49c379242385315f61 *tests/data/fate/vsynth2-mpeg4-rc.out.rawvideo
-stddev:    5.57 PSNR: 33.20 MAXDIFF:  116 bytes:  7603200/  7603200
==14051== Memcheck, a memory error detector
==14051== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14051== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14051== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 400k -bf 2 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-rc.avi
==14051== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100a00] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-rc.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 400 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/400000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 15 q=13.1 Lsize=     249kB time=00:00:01.96 bitrate=1039.7kbits/s speed=0.58x    
video:242kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.774954%
==14051== 
==14051== HEAP SUMMARY:
==14051==     in use at exit: 0 bytes in 0 blocks
==14051==   total heap usage: 6,193 allocs, 6,193 frees, 11,635,261 bytes allocated
==14051== 
==14051== All heap blocks were freed -- no leaks are possible
==14051== 
==14051== For counts of detected and suppressed errors, rerun with: -v
==14051== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==14089== Memcheck, a memory error detector
==14089== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14089== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14089== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-rc.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-rc.out.rawvideo
==14089== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-rc.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 1018 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 1011 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-rc.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.04 bitrate=29816.5kbits/s speed=3.52x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==14089== 
==14089== HEAP SUMMARY:
==14089==     in use at exit: 110,592 bytes in 28 blocks
==14089==   total heap usage: 5,955 allocs, 5,927 frees, 10,675,993 bytes allocated
==14089== 
==14089== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==14089==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14089==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14089==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14089==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14089==    by 0x5B11F5: build_table (bitstream.c:168)
==14089==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14089==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14089==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14089==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14089==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14089==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14089==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14089==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14089==    by 0x263BAD: main (ffmpeg.c:4787)
==14089== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14089== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==14089==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14089==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14089==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14089==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14089==    by 0x5B11F5: build_table (bitstream.c:168)
==14089==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14089==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14089==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14089==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14089==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14089==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14089==    by 0x263C49: transcode (ffmpeg.c:4585)
==14089==    by 0x263C49: main (ffmpeg.c:4814)
==14089== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14089== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==14089==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14089==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14089==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14089==    by 0x5B11F5: build_table (bitstream.c:168)
==14089==    by 0x5B14D5: build_table (bitstream.c:223)
==14089==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14089==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14089==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14089==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14089==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14089==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14089==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14089==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14089==    by 0x263BAD: main (ffmpeg.c:4787)
==14089== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14089== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==14089==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14089==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14089==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14089==    by 0x5B11F5: build_table (bitstream.c:168)
==14089==    by 0x5B14D5: build_table (bitstream.c:223)
==14089==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14089==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14089==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14089==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14089==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14089==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14089==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14089==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14089==    by 0x263BAD: main (ffmpeg.c:4787)
==14089== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14089== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==14089==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14089==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14089==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14089==    by 0x5B11F5: build_table (bitstream.c:168)
==14089==    by 0x5B14D5: build_table (bitstream.c:223)
==14089==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14089==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14089==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14089==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14089==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14089==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14089==    by 0x263C49: transcode (ffmpeg.c:4585)
==14089==    by 0x263C49: main (ffmpeg.c:4814)
==14089== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14089== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==14089==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14089==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14089==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14089==    by 0x5B11F5: build_table (bitstream.c:168)
==14089==    by 0x5B14D5: build_table (bitstream.c:223)
==14089==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14089==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14089==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14089==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14089==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14089==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14089==    by 0x263C49: transcode (ffmpeg.c:4585)
==14089==    by 0x263C49: main (ffmpeg.c:4814)
==14089== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14089== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==14089==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14089==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14089==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14089==    by 0x5B11F5: build_table (bitstream.c:168)
==14089==    by 0x5B14D5: build_table (bitstream.c:223)
==14089==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14089==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14089==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14089==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14089==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14089==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14089==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14089==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14089==    by 0x263BAD: main (ffmpeg.c:4787)
==14089== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14089== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==14089==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14089==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14089==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14089==    by 0x5B11F5: build_table (bitstream.c:168)
==14089==    by 0x5B14D5: build_table (bitstream.c:223)
==14089==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14089==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14089==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14089==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14089==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14089==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14089==    by 0x263C49: transcode (ffmpeg.c:4585)
==14089==    by 0x263C49: main (ffmpeg.c:4814)
==14089== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14089== LEAK SUMMARY:
==14089==    definitely lost: 110,592 bytes in 28 blocks
==14089==    indirectly lost: 0 bytes in 0 blocks
==14089==      possibly lost: 0 bytes in 0 blocks
==14089==    still reachable: 0 bytes in 0 blocks
==14089==         suppressed: 0 bytes in 0 blocks
==14089== 
==14089== For counts of detected and suppressed errors, rerun with: -v
==14089== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth2-mpeg4-thread1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth2-mpeg4-thread	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth2-mpeg4-thread	2018-04-03 13:47:05.315388597 +0000
@@ -1,4 +1,2 @@
 92128f8adc4ac70a66fdddf58e46b923 *tests/data/fate/vsynth2-mpeg4-thread.avi
 268396 tests/data/fate/vsynth2-mpeg4-thread.avi
-f432bd8d897c7c8e286e385b77cedcfa *tests/data/fate/vsynth2-mpeg4-thread.out.rawvideo
-stddev:    4.89 PSNR: 34.34 MAXDIFF:   86 bytes:  7603200/  7603200
==14144== Memcheck, a memory error detector
==14144== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14144== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14144== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 500k -flags +mv4+aic -data_partitioning 1 -trellis 1 -mbd bits -ps 200 -bf 2 -threads 2 -slices 2 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-thread.avi
==14144== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x71012c0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-thread.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 500 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/500000 buffer size: 0 vbv_delay: -1
frame=   50 fps=5.9 q=10.2 Lsize=     262kB time=00:00:01.96 bitrate=1095.5kbits/s speed=0.231x    
video:255kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.630029%
==14144== 
==14144== HEAP SUMMARY:
==14144==     in use at exit: 0 bytes in 0 blocks
==14144==   total heap usage: 6,296 allocs, 6,296 frees, 13,092,981 bytes allocated
==14144== 
==14144== All heap blocks were freed -- no leaks are possible
==14144== 
==14144== For counts of detected and suppressed errors, rerun with: -v
==14144== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==14166== Memcheck, a memory error detector
==14166== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14166== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==14166== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-thread.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-thread.out.rawvideo
==14166== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-thread.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 1073 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 1067 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-mpeg4-thread.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.04 bitrate=29816.5kbits/s speed=3.43x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==14166== 
==14166== HEAP SUMMARY:
==14166==     in use at exit: 110,592 bytes in 28 blocks
==14166==   total heap usage: 5,955 allocs, 5,927 frees, 10,703,325 bytes allocated
==14166== 
==14166== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==14166==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14166==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14166==    by 0x5B11F5: build_table (bitstream.c:168)
==14166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14166==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14166==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14166==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14166==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14166==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14166==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14166==    by 0x263BAD: main (ffmpeg.c:4787)
==14166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14166== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==14166==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==14166==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==14166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14166==    by 0x5B11F5: build_table (bitstream.c:168)
==14166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14166==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14166==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14166==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14166==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14166==    by 0x263C49: transcode (ffmpeg.c:4585)
==14166==    by 0x263C49: main (ffmpeg.c:4814)
==14166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14166== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==14166==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14166==    by 0x5B11F5: build_table (bitstream.c:168)
==14166==    by 0x5B14D5: build_table (bitstream.c:223)
==14166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14166==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14166==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14166==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14166==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14166==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14166==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14166==    by 0x263BAD: main (ffmpeg.c:4787)
==14166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14166== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==14166==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14166==    by 0x5B11F5: build_table (bitstream.c:168)
==14166==    by 0x5B14D5: build_table (bitstream.c:223)
==14166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14166==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14166==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14166==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14166==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14166==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14166==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14166==    by 0x263BAD: main (ffmpeg.c:4787)
==14166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14166== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==14166==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14166==    by 0x5B11F5: build_table (bitstream.c:168)
==14166==    by 0x5B14D5: build_table (bitstream.c:223)
==14166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14166==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==14166==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==14166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14166==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14166==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14166==    by 0x263C49: transcode (ffmpeg.c:4585)
==14166==    by 0x263C49: main (ffmpeg.c:4814)
==14166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14166== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==14166==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14166==    by 0x5B11F5: build_table (bitstream.c:168)
==14166==    by 0x5B14D5: build_table (bitstream.c:223)
==14166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14166==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==14166==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==14166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14166==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14166==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14166==    by 0x263C49: transcode (ffmpeg.c:4585)
==14166==    by 0x263C49: main (ffmpeg.c:4814)
==14166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14166== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==14166==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14166==    by 0x5B11F5: build_table (bitstream.c:168)
==14166==    by 0x5B14D5: build_table (bitstream.c:223)
==14166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14166==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14166==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14166==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==14166==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==14166==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==14166==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==14166==    by 0x263BAD: main (ffmpeg.c:4787)
==14166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==14166== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==14166==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==14166==    by 0xEDE21E: av_realloc_f (mem.c:157)
==14166==    by 0x5B11F5: alloc_table (bitstream.c:119)
==14166==    by 0x5B11F5: build_table (bitstream.c:168)
==14166==    by 0x5B14D5: build_table (bitstream.c:223)
==14166==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==14166==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==14166==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==14166==    by 0x8FE373: avcodec_open2 (utils.c:920)
==14166==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==14166==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==14166==    by 0x263C49: transcode (ffmpeg.c:4585)
==14166==    by 0x263C49: main (ffmpeg.c:4814)
==14166== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==14166== LEAK SUMMARY:
==14166==    definitely lost: 110,592 bytes in 28 blocks
==14166==    indirectly lost: 0 bytes in 0 blocks
==14166==      possibly lost: 0 bytes in 0 blocks
==14166==    still reachable: 0 bytes in 0 blocks
==14166==         suppressed: 0 bytes in 0 blocks
==14166== 
==14166== For counts of detected and suppressed errors, rerun with: -v
==14166== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth3-mpeg41N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth3-mpeg4	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth3-mpeg4	2018-04-03 13:26:12.676208534 +0000
@@ -1,4 +1,2 @@
 ddcff996543900496f0b374a2d5cae74 *tests/data/fate/vsynth3-mpeg4.mp4
 26017 tests/data/fate/vsynth3-mpeg4.mp4
-fc0d8c1e58d254031e6207dfcae8f867 *tests/data/fate/vsynth3-mpeg4.out.rawvideo
-stddev:    9.66 PSNR: 28.43 MAXDIFF:   79 bytes:    86700/    86700
==28168== Memcheck, a memory error detector
==28168== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28168== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28168== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 34x34 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 10 -flags +mv4 -mbd bits -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f mp4 -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4.mp4
==28168== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100b80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 346 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34, 346 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, mp4, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4.mp4':
    Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 34x34, q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps=0.0 q=10.0 Lsize=      25kB time=00:00:01.96 bitrate= 106.2kbits/s speed=4.42x    
video:24kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 4.092982%
==28168== 
==28168== HEAP SUMMARY:
==28168==     in use at exit: 0 bytes in 0 blocks
==28168==   total heap usage: 5,848 allocs, 5,848 frees, 1,389,055 bytes allocated
==28168== 
==28168== All heap blocks were freed -- no leaks are possible
==28168== 
==28168== For counts of detected and suppressed errors, rerun with: -v
==28168== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==28199== Memcheck, a memory error detector
==28199== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28199== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28199== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4.mp4 -threads 1 -idct simple -dct fastint -s 34x34 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4.out.rawvideo
==28199== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
  Duration: 00:00:02.00, start: 0.000000, bitrate: 104 kb/s
    Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 34x34 [SAR 1:1 DAR 1:1], 99 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4.out.rawvideo':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    Stream #0:0(und): Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34 [SAR 1:1 DAR 1:1], q=2-31, 346 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=      85kB time=00:00:02.00 bitrate= 346.8kbits/s speed=10.1x    
video:85kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==28199== 
==28199== HEAP SUMMARY:
==28199==     in use at exit: 110,592 bytes in 28 blocks
==28199==   total heap usage: 6,245 allocs, 6,217 frees, 1,648,325 bytes allocated
==28199== 
==28199== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==28199==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28199==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28199==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28199==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28199==    by 0x5B11F5: build_table (bitstream.c:168)
==28199==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28199==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28199==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28199==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28199==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28199==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28199==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28199==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28199==    by 0x263BAD: main (ffmpeg.c:4787)
==28199== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28199== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==28199==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28199==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28199==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28199==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28199==    by 0x5B11F5: build_table (bitstream.c:168)
==28199==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28199==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28199==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28199==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28199==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28199==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28199==    by 0x263C49: transcode (ffmpeg.c:4585)
==28199==    by 0x263C49: main (ffmpeg.c:4814)
==28199== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28199== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==28199==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28199==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28199==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28199==    by 0x5B11F5: build_table (bitstream.c:168)
==28199==    by 0x5B14D5: build_table (bitstream.c:223)
==28199==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28199==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28199==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28199==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28199==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28199==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28199==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28199==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28199==    by 0x263BAD: main (ffmpeg.c:4787)
==28199== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28199== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==28199==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28199==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28199==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28199==    by 0x5B11F5: build_table (bitstream.c:168)
==28199==    by 0x5B14D5: build_table (bitstream.c:223)
==28199==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28199==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28199==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28199==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28199==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28199==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28199==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28199==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28199==    by 0x263BAD: main (ffmpeg.c:4787)
==28199== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28199== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==28199==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28199==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28199==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28199==    by 0x5B11F5: build_table (bitstream.c:168)
==28199==    by 0x5B14D5: build_table (bitstream.c:223)
==28199==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28199==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28199==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28199==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28199==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28199==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28199==    by 0x263C49: transcode (ffmpeg.c:4585)
==28199==    by 0x263C49: main (ffmpeg.c:4814)
==28199== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28199== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==28199==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28199==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28199==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28199==    by 0x5B11F5: build_table (bitstream.c:168)
==28199==    by 0x5B14D5: build_table (bitstream.c:223)
==28199==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28199==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28199==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28199==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28199==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28199==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28199==    by 0x263C49: transcode (ffmpeg.c:4585)
==28199==    by 0x263C49: main (ffmpeg.c:4814)
==28199== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28199== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==28199==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28199==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28199==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28199==    by 0x5B11F5: build_table (bitstream.c:168)
==28199==    by 0x5B14D5: build_table (bitstream.c:223)
==28199==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28199==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28199==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28199==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28199==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28199==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28199==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28199==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28199==    by 0x263BAD: main (ffmpeg.c:4787)
==28199== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28199== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==28199==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28199==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28199==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28199==    by 0x5B11F5: build_table (bitstream.c:168)
==28199==    by 0x5B14D5: build_table (bitstream.c:223)
==28199==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28199==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28199==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28199==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28199==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28199==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28199==    by 0x263C49: transcode (ffmpeg.c:4585)
==28199==    by 0x263C49: main (ffmpeg.c:4814)
==28199== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28199== LEAK SUMMARY:
==28199==    definitely lost: 110,592 bytes in 28 blocks
==28199==    indirectly lost: 0 bytes in 0 blocks
==28199==      possibly lost: 0 bytes in 0 blocks
==28199==    still reachable: 0 bytes in 0 blocks
==28199==         suppressed: 0 bytes in 0 blocks
==28199== 
==28199== For counts of detected and suppressed errors, rerun with: -v
==28199== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth3-mpeg4-adap1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth3-mpeg4-adap	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth3-mpeg4-adap	2018-04-03 13:26:15.886206472 +0000
@@ -1,4 +1,2 @@
 c16e5c2436ca9953517eadba562768e9 *tests/data/fate/vsynth3-mpeg4-adap.avi
 43706 tests/data/fate/vsynth3-mpeg4-adap.avi
-b42b614e19e7c4859fca1af6d4e36eae *tests/data/fate/vsynth3-mpeg4-adap.out.rawvideo
-stddev:    5.48 PSNR: 33.34 MAXDIFF:   53 bytes:    86700/    86700
==28250== Memcheck, a memory error detector
==28250== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28250== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28250== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 34x34 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 550k -bf 2 -flags +mv4 -trellis 1 -cmp 1 -subcmp 2 -mbd rd -scplx_mask 0.3 -mpv_flags +mv0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-adap.avi
==28250== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7101380] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 346 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34, 346 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-adap.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 34x34, q=2-31, 550 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/550000 buffer size: 0 vbv_delay: -1
frame=   50 fps=0.0 q=2.0 Lsize=      43kB time=00:00:01.96 bitrate= 178.4kbits/s speed=2.62x    
video:36kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 18.679230%
==28250== 
==28250== HEAP SUMMARY:
==28250==     in use at exit: 0 bytes in 0 blocks
==28250==   total heap usage: 6,300 allocs, 6,300 frees, 1,663,680 bytes allocated
==28250== 
==28250== All heap blocks were freed -- no leaks are possible
==28250== 
==28250== For counts of detected and suppressed errors, rerun with: -v
==28250== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==28281== Memcheck, a memory error detector
==28281== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28281== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28281== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-adap.avi -threads 1 -idct simple -dct fastint -s 34x34 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-adap.out.rawvideo
==28281== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-adap.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 174 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 34x34 [SAR 1:1 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-adap.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34 [SAR 1:1 DAR 1:1], q=2-31, 346 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=      85kB time=00:00:02.04 bitrate= 340.0kbits/s speed=7.54x    
video:85kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==28281== 
==28281== HEAP SUMMARY:
==28281==     in use at exit: 110,592 bytes in 28 blocks
==28281==   total heap usage: 5,955 allocs, 5,927 frees, 1,703,273 bytes allocated
==28281== 
==28281== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==28281==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28281==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28281==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28281==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28281==    by 0x5B11F5: build_table (bitstream.c:168)
==28281==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28281==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28281==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28281==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28281==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28281==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28281==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28281==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28281==    by 0x263BAD: main (ffmpeg.c:4787)
==28281== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28281== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==28281==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28281==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28281==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28281==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28281==    by 0x5B11F5: build_table (bitstream.c:168)
==28281==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28281==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28281==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28281==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28281==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28281==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28281==    by 0x263C49: transcode (ffmpeg.c:4585)
==28281==    by 0x263C49: main (ffmpeg.c:4814)
==28281== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28281== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==28281==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28281==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28281==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28281==    by 0x5B11F5: build_table (bitstream.c:168)
==28281==    by 0x5B14D5: build_table (bitstream.c:223)
==28281==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28281==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28281==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28281==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28281==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28281==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28281==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28281==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28281==    by 0x263BAD: main (ffmpeg.c:4787)
==28281== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28281== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==28281==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28281==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28281==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28281==    by 0x5B11F5: build_table (bitstream.c:168)
==28281==    by 0x5B14D5: build_table (bitstream.c:223)
==28281==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28281==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28281==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28281==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28281==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28281==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28281==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28281==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28281==    by 0x263BAD: main (ffmpeg.c:4787)
==28281== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28281== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==28281==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28281==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28281==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28281==    by 0x5B11F5: build_table (bitstream.c:168)
==28281==    by 0x5B14D5: build_table (bitstream.c:223)
==28281==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28281==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28281==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28281==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28281==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28281==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28281==    by 0x263C49: transcode (ffmpeg.c:4585)
==28281==    by 0x263C49: main (ffmpeg.c:4814)
==28281== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28281== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==28281==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28281==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28281==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28281==    by 0x5B11F5: build_table (bitstream.c:168)
==28281==    by 0x5B14D5: build_table (bitstream.c:223)
==28281==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28281==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28281==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28281==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28281==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28281==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28281==    by 0x263C49: transcode (ffmpeg.c:4585)
==28281==    by 0x263C49: main (ffmpeg.c:4814)
==28281== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28281== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==28281==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28281==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28281==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28281==    by 0x5B11F5: build_table (bitstream.c:168)
==28281==    by 0x5B14D5: build_table (bitstream.c:223)
==28281==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28281==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28281==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28281==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28281==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28281==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28281==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28281==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28281==    by 0x263BAD: main (ffmpeg.c:4787)
==28281== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28281== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==28281==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28281==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28281==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28281==    by 0x5B11F5: build_table (bitstream.c:168)
==28281==    by 0x5B14D5: build_table (bitstream.c:223)
==28281==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28281==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28281==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28281==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28281==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28281==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28281==    by 0x263C49: transcode (ffmpeg.c:4585)
==28281==    by 0x263C49: main (ffmpeg.c:4814)
==28281== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28281== LEAK SUMMARY:
==28281==    definitely lost: 110,592 bytes in 28 blocks
==28281==    indirectly lost: 0 bytes in 0 blocks
==28281==      possibly lost: 0 bytes in 0 blocks
==28281==    still reachable: 0 bytes in 0 blocks
==28281==         suppressed: 0 bytes in 0 blocks
==28281== 
==28281== For counts of detected and suppressed errors, rerun with: -v
==28281== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth3-mpeg4-adv1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth3-mpeg4-adv	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth3-mpeg4-adv	2018-04-03 13:26:15.089540317 +0000
@@ -1,4 +1,2 @@
 140ecea2eb7d85cbe647adb666f09aa5 *tests/data/fate/vsynth3-mpeg4-adv.avi
 32296 tests/data/fate/vsynth3-mpeg4-adv.avi
-9f80b96af57556d53ce44008bd687f55 *tests/data/fate/vsynth3-mpeg4-adv.out.rawvideo
-stddev:    7.60 PSNR: 30.51 MAXDIFF:   63 bytes:    86700/    86700
==28218== Memcheck, a memory error detector
==28218== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28218== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28218== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 34x34 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 9 -flags +mv4+aic -data_partitioning 1 -trellis 1 -mbd bits -ps 200 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-adv.avi
==28218== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100e80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 346 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34, 346 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-adv.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 34x34, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps=0.0 q=9.0 Lsize=      32kB time=00:00:02.00 bitrate= 129.2kbits/s speed=4.15x    
video:25kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 27.049568%
==28218== 
==28218== HEAP SUMMARY:
==28218==     in use at exit: 0 bytes in 0 blocks
==28218==   total heap usage: 5,885 allocs, 5,885 frees, 1,595,216 bytes allocated
==28218== 
==28218== All heap blocks were freed -- no leaks are possible
==28218== 
==28218== For counts of detected and suppressed errors, rerun with: -v
==28218== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==28271== Memcheck, a memory error detector
==28271== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28271== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28271== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-adv.avi -threads 1 -idct simple -dct fastint -s 34x34 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-adv.out.rawvideo
==28271== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-adv.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 129 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 34x34 [SAR 1:1 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-adv.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34 [SAR 1:1 DAR 1:1], q=2-31, 346 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=      85kB time=00:00:02.00 bitrate= 346.8kbits/s speed=9.63x    
video:85kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==28271== 
==28271== HEAP SUMMARY:
==28271==     in use at exit: 110,592 bytes in 28 blocks
==28271==   total heap usage: 6,385 allocs, 6,357 frees, 1,665,267 bytes allocated
==28271== 
==28271== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==28271==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28271==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28271==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28271==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28271==    by 0x5B11F5: build_table (bitstream.c:168)
==28271==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28271==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28271==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28271==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28271==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28271==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28271==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28271==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28271==    by 0x263BAD: main (ffmpeg.c:4787)
==28271== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28271== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==28271==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28271==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28271==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28271==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28271==    by 0x5B11F5: build_table (bitstream.c:168)
==28271==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28271==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28271==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28271==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28271==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28271==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28271==    by 0x263C49: transcode (ffmpeg.c:4585)
==28271==    by 0x263C49: main (ffmpeg.c:4814)
==28271== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28271== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==28271==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28271==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28271==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28271==    by 0x5B11F5: build_table (bitstream.c:168)
==28271==    by 0x5B14D5: build_table (bitstream.c:223)
==28271==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28271==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28271==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28271==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28271==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28271==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28271==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28271==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28271==    by 0x263BAD: main (ffmpeg.c:4787)
==28271== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28271== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==28271==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28271==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28271==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28271==    by 0x5B11F5: build_table (bitstream.c:168)
==28271==    by 0x5B14D5: build_table (bitstream.c:223)
==28271==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28271==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28271==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28271==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28271==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28271==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28271==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28271==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28271==    by 0x263BAD: main (ffmpeg.c:4787)
==28271== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28271== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==28271==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28271==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28271==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28271==    by 0x5B11F5: build_table (bitstream.c:168)
==28271==    by 0x5B14D5: build_table (bitstream.c:223)
==28271==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28271==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28271==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28271==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28271==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28271==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28271==    by 0x263C49: transcode (ffmpeg.c:4585)
==28271==    by 0x263C49: main (ffmpeg.c:4814)
==28271== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28271== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==28271==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28271==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28271==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28271==    by 0x5B11F5: build_table (bitstream.c:168)
==28271==    by 0x5B14D5: build_table (bitstream.c:223)
==28271==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28271==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28271==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28271==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28271==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28271==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28271==    by 0x263C49: transcode (ffmpeg.c:4585)
==28271==    by 0x263C49: main (ffmpeg.c:4814)
==28271== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28271== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==28271==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28271==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28271==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28271==    by 0x5B11F5: build_table (bitstream.c:168)
==28271==    by 0x5B14D5: build_table (bitstream.c:223)
==28271==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28271==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28271==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28271==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28271==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28271==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28271==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28271==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28271==    by 0x263BAD: main (ffmpeg.c:4787)
==28271== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28271== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==28271==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28271==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28271==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28271==    by 0x5B11F5: build_table (bitstream.c:168)
==28271==    by 0x5B14D5: build_table (bitstream.c:223)
==28271==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28271==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28271==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28271==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28271==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28271==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28271==    by 0x263C49: transcode (ffmpeg.c:4585)
==28271==    by 0x263C49: main (ffmpeg.c:4814)
==28271== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28271== LEAK SUMMARY:
==28271==    definitely lost: 110,592 bytes in 28 blocks
==28271==    indirectly lost: 0 bytes in 0 blocks
==28271==      possibly lost: 0 bytes in 0 blocks
==28271==    still reachable: 0 bytes in 0 blocks
==28271==         suppressed: 0 bytes in 0 blocks
==28271== 
==28271== For counts of detected and suppressed errors, rerun with: -v
==28271== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth3-mpeg4-error1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth3-mpeg4-error	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth3-mpeg4-error	2018-04-03 13:26:18.402871522 +0000
@@ -1,4 +1,2 @@
 7f1fb64c5a37be6e5606f92adb84f273 *tests/data/fate/vsynth3-mpeg4-error.avi
 38212 tests/data/fate/vsynth3-mpeg4-error.avi
-f9fd24e26f4ffb5ed597b9bbf0ea731b *tests/data/fate/vsynth3-mpeg4-error.out.rawvideo
-stddev:    6.06 PSNR: 32.47 MAXDIFF:   54 bytes:    86700/    86700
==28319== Memcheck, a memory error detector
==28319== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28319== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28319== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 34x34 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 7 -flags +mv4+aic -data_partitioning 1 -mbd rd -ps 250 -error_rate 10 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-error.avi
==28319== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100e80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 346 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34, 346 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-error.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 34x34, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps=0.0 q=7.0 Lsize=      37kB time=00:00:02.00 bitrate= 152.8kbits/s speed=4.68x    
video:31kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 21.950596%
==28319== 
==28319== HEAP SUMMARY:
==28319==     in use at exit: 0 bytes in 0 blocks
==28319==   total heap usage: 5,882 allocs, 5,882 frees, 1,601,038 bytes allocated
==28319== 
==28319== All heap blocks were freed -- no leaks are possible
==28319== 
==28319== For counts of detected and suppressed errors, rerun with: -v
==28319== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==28363== Memcheck, a memory error detector
==28363== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28363== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28363== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-error.avi -threads 1 -idct simple -dct fastint -s 34x34 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-error.out.rawvideo
==28363== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-error.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 152 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 34x34 [SAR 1:1 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-error.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34 [SAR 1:1 DAR 1:1], q=2-31, 346 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=      85kB time=00:00:02.00 bitrate= 346.8kbits/s speed=9.71x    
video:85kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==28363== 
==28363== HEAP SUMMARY:
==28363==     in use at exit: 110,592 bytes in 28 blocks
==28363==   total heap usage: 6,385 allocs, 6,357 frees, 1,677,103 bytes allocated
==28363== 
==28363== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==28363==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28363==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28363==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28363==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28363==    by 0x5B11F5: build_table (bitstream.c:168)
==28363==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28363==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28363==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28363==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28363==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28363==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28363==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28363==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28363==    by 0x263BAD: main (ffmpeg.c:4787)
==28363== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28363== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==28363==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28363==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28363==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28363==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28363==    by 0x5B11F5: build_table (bitstream.c:168)
==28363==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28363==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28363==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28363==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28363==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28363==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28363==    by 0x263C49: transcode (ffmpeg.c:4585)
==28363==    by 0x263C49: main (ffmpeg.c:4814)
==28363== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28363== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==28363==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28363==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28363==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28363==    by 0x5B11F5: build_table (bitstream.c:168)
==28363==    by 0x5B14D5: build_table (bitstream.c:223)
==28363==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28363==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28363==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28363==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28363==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28363==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28363==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28363==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28363==    by 0x263BAD: main (ffmpeg.c:4787)
==28363== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28363== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==28363==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28363==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28363==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28363==    by 0x5B11F5: build_table (bitstream.c:168)
==28363==    by 0x5B14D5: build_table (bitstream.c:223)
==28363==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28363==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28363==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28363==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28363==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28363==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28363==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28363==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28363==    by 0x263BAD: main (ffmpeg.c:4787)
==28363== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28363== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==28363==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28363==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28363==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28363==    by 0x5B11F5: build_table (bitstream.c:168)
==28363==    by 0x5B14D5: build_table (bitstream.c:223)
==28363==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28363==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28363==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28363==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28363==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28363==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28363==    by 0x263C49: transcode (ffmpeg.c:4585)
==28363==    by 0x263C49: main (ffmpeg.c:4814)
==28363== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28363== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==28363==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28363==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28363==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28363==    by 0x5B11F5: build_table (bitstream.c:168)
==28363==    by 0x5B14D5: build_table (bitstream.c:223)
==28363==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28363==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28363==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28363==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28363==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28363==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28363==    by 0x263C49: transcode (ffmpeg.c:4585)
==28363==    by 0x263C49: main (ffmpeg.c:4814)
==28363== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28363== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==28363==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28363==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28363==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28363==    by 0x5B11F5: build_table (bitstream.c:168)
==28363==    by 0x5B14D5: build_table (bitstream.c:223)
==28363==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28363==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28363==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28363==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28363==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28363==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28363==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28363==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28363==    by 0x263BAD: main (ffmpeg.c:4787)
==28363== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28363== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==28363==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28363==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28363==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28363==    by 0x5B11F5: build_table (bitstream.c:168)
==28363==    by 0x5B14D5: build_table (bitstream.c:223)
==28363==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28363==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28363==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28363==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28363==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28363==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28363==    by 0x263C49: transcode (ffmpeg.c:4585)
==28363==    by 0x263C49: main (ffmpeg.c:4814)
==28363== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28363== LEAK SUMMARY:
==28363==    definitely lost: 110,592 bytes in 28 blocks
==28363==    indirectly lost: 0 bytes in 0 blocks
==28363==      possibly lost: 0 bytes in 0 blocks
==28363==    still reachable: 0 bytes in 0 blocks
==28363==         suppressed: 0 bytes in 0 blocks
==28363== 
==28363== For counts of detected and suppressed errors, rerun with: -v
==28363== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth3-mpeg4-nr1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth3-mpeg4-nr	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth3-mpeg4-nr	2018-04-03 13:26:18.832871245 +0000
@@ -1,4 +1,2 @@
 62790bdb7c2bb4da94dba992ea967fc8 *tests/data/fate/vsynth3-mpeg4-nr.avi
 36500 tests/data/fate/vsynth3-mpeg4-nr.avi
-d0ad9918a12019dd2eacfb804d1f7e78 *tests/data/fate/vsynth3-mpeg4-nr.out.rawvideo
-stddev:    8.27 PSNR: 29.78 MAXDIFF:   70 bytes:    86700/    86700
==28336== Memcheck, a memory error detector
==28336== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28336== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28336== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 34x34 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 8 -flags +mv4 -mbd rd -noise_reduction 200 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-nr.avi
==28336== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100cc0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 346 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34, 346 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-nr.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 34x34, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps=0.0 q=8.0 Lsize=      36kB time=00:00:02.00 bitrate= 146.0kbits/s speed=4.71x    
video:29kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 23.210911%
==28336== 
==28336== HEAP SUMMARY:
==28336==     in use at exit: 0 bytes in 0 blocks
==28336==   total heap usage: 5,855 allocs, 5,855 frees, 1,569,768 bytes allocated
==28336== 
==28336== All heap blocks were freed -- no leaks are possible
==28336== 
==28336== For counts of detected and suppressed errors, rerun with: -v
==28336== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==28367== Memcheck, a memory error detector
==28367== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28367== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28367== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-nr.avi -threads 1 -idct simple -dct fastint -s 34x34 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-nr.out.rawvideo
==28367== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-nr.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 146 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 34x34 [SAR 1:1 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-nr.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34 [SAR 1:1 DAR 1:1], q=2-31, 346 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=      85kB time=00:00:02.00 bitrate= 346.8kbits/s speed=10.1x    
video:85kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==28367== 
==28367== HEAP SUMMARY:
==28367==     in use at exit: 110,592 bytes in 28 blocks
==28367==   total heap usage: 6,385 allocs, 6,357 frees, 1,673,671 bytes allocated
==28367== 
==28367== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==28367==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28367==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28367==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28367==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28367==    by 0x5B11F5: build_table (bitstream.c:168)
==28367==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28367==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28367==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28367==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28367==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28367==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28367==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28367==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28367==    by 0x263BAD: main (ffmpeg.c:4787)
==28367== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28367== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==28367==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28367==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28367==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28367==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28367==    by 0x5B11F5: build_table (bitstream.c:168)
==28367==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28367==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28367==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28367==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28367==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28367==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28367==    by 0x263C49: transcode (ffmpeg.c:4585)
==28367==    by 0x263C49: main (ffmpeg.c:4814)
==28367== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28367== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==28367==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28367==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28367==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28367==    by 0x5B11F5: build_table (bitstream.c:168)
==28367==    by 0x5B14D5: build_table (bitstream.c:223)
==28367==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28367==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28367==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28367==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28367==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28367==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28367==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28367==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28367==    by 0x263BAD: main (ffmpeg.c:4787)
==28367== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28367== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==28367==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28367==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28367==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28367==    by 0x5B11F5: build_table (bitstream.c:168)
==28367==    by 0x5B14D5: build_table (bitstream.c:223)
==28367==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28367==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28367==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28367==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28367==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28367==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28367==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28367==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28367==    by 0x263BAD: main (ffmpeg.c:4787)
==28367== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28367== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==28367==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28367==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28367==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28367==    by 0x5B11F5: build_table (bitstream.c:168)
==28367==    by 0x5B14D5: build_table (bitstream.c:223)
==28367==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28367==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28367==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28367==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28367==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28367==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28367==    by 0x263C49: transcode (ffmpeg.c:4585)
==28367==    by 0x263C49: main (ffmpeg.c:4814)
==28367== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28367== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==28367==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28367==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28367==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28367==    by 0x5B11F5: build_table (bitstream.c:168)
==28367==    by 0x5B14D5: build_table (bitstream.c:223)
==28367==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28367==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28367==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28367==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28367==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28367==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28367==    by 0x263C49: transcode (ffmpeg.c:4585)
==28367==    by 0x263C49: main (ffmpeg.c:4814)
==28367== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28367== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==28367==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28367==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28367==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28367==    by 0x5B11F5: build_table (bitstream.c:168)
==28367==    by 0x5B14D5: build_table (bitstream.c:223)
==28367==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28367==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28367==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28367==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28367==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28367==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28367==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28367==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28367==    by 0x263BAD: main (ffmpeg.c:4787)
==28367== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28367== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==28367==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28367==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28367==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28367==    by 0x5B11F5: build_table (bitstream.c:168)
==28367==    by 0x5B14D5: build_table (bitstream.c:223)
==28367==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28367==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28367==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28367==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28367==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28367==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28367==    by 0x263C49: transcode (ffmpeg.c:4585)
==28367==    by 0x263C49: main (ffmpeg.c:4814)
==28367== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28367== LEAK SUMMARY:
==28367==    definitely lost: 110,592 bytes in 28 blocks
==28367==    indirectly lost: 0 bytes in 0 blocks
==28367==      possibly lost: 0 bytes in 0 blocks
==28367==    still reachable: 0 bytes in 0 blocks
==28367==         suppressed: 0 bytes in 0 blocks
==28367== 
==28367== For counts of detected and suppressed errors, rerun with: -v
==28367== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth3-mpeg4-nsse1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth3-mpeg4-nsse	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth3-mpeg4-nsse	2018-04-03 13:26:19.092871079 +0000
@@ -1,4 +1,2 @@
 88b1aa2dcea6a45c527487ba8f441feb *tests/data/fate/vsynth3-mpeg4-nsse.avi
 41980 tests/data/fate/vsynth3-mpeg4-nsse.avi
-69d86dec0d73e00608e03855a79dbdc0 *tests/data/fate/vsynth3-mpeg4-nsse.out.rawvideo
-stddev:    6.70 PSNR: 31.60 MAXDIFF:   68 bytes:    86700/    86700
==28355== Memcheck, a memory error detector
==28355== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28355== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28355== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 34x34 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 7 -cmp nsse -subcmp nsse -mbcmp nsse -precmp nsse -skipcmp nsse -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-nsse.avi
==28355== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100ec0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 346 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34, 346 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-nsse.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 34x34, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps=0.0 q=7.0 Lsize=      41kB time=00:00:02.00 bitrate= 167.9kbits/s speed= 5.5x    
video:34kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 19.601139%
==28355== 
==28355== HEAP SUMMARY:
==28355==     in use at exit: 0 bytes in 0 blocks
==28355==   total heap usage: 5,898 allocs, 5,898 frees, 1,576,497 bytes allocated
==28355== 
==28355== All heap blocks were freed -- no leaks are possible
==28355== 
==28355== For counts of detected and suppressed errors, rerun with: -v
==28355== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==28371== Memcheck, a memory error detector
==28371== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28371== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28371== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-nsse.avi -threads 1 -idct simple -dct fastint -s 34x34 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-nsse.out.rawvideo
==28371== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-nsse.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 167 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 34x34 [SAR 1:1 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-nsse.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34 [SAR 1:1 DAR 1:1], q=2-31, 346 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=      85kB time=00:00:02.00 bitrate= 346.8kbits/s speed=9.03x    
video:85kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==28371== 
==28371== HEAP SUMMARY:
==28371==     in use at exit: 110,592 bytes in 28 blocks
==28371==   total heap usage: 6,385 allocs, 6,357 frees, 1,684,631 bytes allocated
==28371== 
==28371== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==28371==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28371==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28371==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28371==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28371==    by 0x5B11F5: build_table (bitstream.c:168)
==28371==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28371==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28371==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28371==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28371==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28371==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28371==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28371==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28371==    by 0x263BAD: main (ffmpeg.c:4787)
==28371== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28371== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==28371==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28371==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28371==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28371==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28371==    by 0x5B11F5: build_table (bitstream.c:168)
==28371==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28371==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28371==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28371==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28371==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28371==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28371==    by 0x263C49: transcode (ffmpeg.c:4585)
==28371==    by 0x263C49: main (ffmpeg.c:4814)
==28371== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28371== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==28371==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28371==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28371==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28371==    by 0x5B11F5: build_table (bitstream.c:168)
==28371==    by 0x5B14D5: build_table (bitstream.c:223)
==28371==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28371==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28371==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28371==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28371==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28371==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28371==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28371==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28371==    by 0x263BAD: main (ffmpeg.c:4787)
==28371== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28371== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==28371==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28371==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28371==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28371==    by 0x5B11F5: build_table (bitstream.c:168)
==28371==    by 0x5B14D5: build_table (bitstream.c:223)
==28371==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28371==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28371==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28371==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28371==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28371==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28371==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28371==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28371==    by 0x263BAD: main (ffmpeg.c:4787)
==28371== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28371== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==28371==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28371==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28371==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28371==    by 0x5B11F5: build_table (bitstream.c:168)
==28371==    by 0x5B14D5: build_table (bitstream.c:223)
==28371==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28371==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28371==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28371==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28371==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28371==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28371==    by 0x263C49: transcode (ffmpeg.c:4585)
==28371==    by 0x263C49: main (ffmpeg.c:4814)
==28371== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28371== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==28371==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28371==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28371==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28371==    by 0x5B11F5: build_table (bitstream.c:168)
==28371==    by 0x5B14D5: build_table (bitstream.c:223)
==28371==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28371==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28371==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28371==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28371==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28371==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28371==    by 0x263C49: transcode (ffmpeg.c:4585)
==28371==    by 0x263C49: main (ffmpeg.c:4814)
==28371== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28371== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==28371==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28371==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28371==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28371==    by 0x5B11F5: build_table (bitstream.c:168)
==28371==    by 0x5B14D5: build_table (bitstream.c:223)
==28371==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28371==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28371==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28371==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28371==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28371==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28371==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28371==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28371==    by 0x263BAD: main (ffmpeg.c:4787)
==28371== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28371== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==28371==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28371==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28371==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28371==    by 0x5B11F5: build_table (bitstream.c:168)
==28371==    by 0x5B14D5: build_table (bitstream.c:223)
==28371==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28371==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28371==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28371==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28371==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28371==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28371==    by 0x263C49: transcode (ffmpeg.c:4585)
==28371==    by 0x263C49: main (ffmpeg.c:4814)
==28371== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28371== LEAK SUMMARY:
==28371==    definitely lost: 110,592 bytes in 28 blocks
==28371==    indirectly lost: 0 bytes in 0 blocks
==28371==      possibly lost: 0 bytes in 0 blocks
==28371==    still reachable: 0 bytes in 0 blocks
==28371==         suppressed: 0 bytes in 0 blocks
==28371== 
==28371== For counts of detected and suppressed errors, rerun with: -v
==28371== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth3-mpeg4-qpel1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth3-mpeg4-qpel	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth3-mpeg4-qpel	2018-04-03 13:26:16.269539559 +0000
@@ -1,4 +1,2 @@
 8e60ed0013bfc28f48ed4d826fd26a6a *tests/data/fate/vsynth3-mpeg4-qpel.avi
 42622 tests/data/fate/vsynth3-mpeg4-qpel.avi
-50af37a5ae05f0af34bd56dcef997c8d *tests/data/fate/vsynth3-mpeg4-qpel.out.rawvideo
-stddev:    6.59 PSNR: 31.75 MAXDIFF:   54 bytes:    86700/    86700
==28267== Memcheck, a memory error detector
==28267== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28267== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28267== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 34x34 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 7 -flags +mv4+qpel -mbd 2 -bf 2 -cmp 1 -subcmp 2 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-qpel.avi
==28267== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100f80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 346 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34, 346 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-qpel.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 34x34, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps=0.0 q=7.0 Lsize=      42kB time=00:00:01.96 bitrate= 174.0kbits/s speed=2.24x    
video:35kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 19.252399%
==28267== 
==28267== HEAP SUMMARY:
==28267==     in use at exit: 0 bytes in 0 blocks
==28267==   total heap usage: 6,235 allocs, 6,235 frees, 1,658,935 bytes allocated
==28267== 
==28267== All heap blocks were freed -- no leaks are possible
==28267== 
==28267== For counts of detected and suppressed errors, rerun with: -v
==28267== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==28285== Memcheck, a memory error detector
==28285== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28285== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28285== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-qpel.avi -threads 1 -idct simple -dct fastint -s 34x34 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-qpel.out.rawvideo
==28285== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-qpel.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 170 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 34x34 [SAR 1:1 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-qpel.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34 [SAR 1:1 DAR 1:1], q=2-31, 346 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=      85kB time=00:00:02.04 bitrate= 340.0kbits/s speed=7.92x    
video:85kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==28285== 
==28285== HEAP SUMMARY:
==28285==     in use at exit: 110,592 bytes in 28 blocks
==28285==   total heap usage: 5,955 allocs, 5,927 frees, 1,701,101 bytes allocated
==28285== 
==28285== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==28285==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28285==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28285==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28285==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28285==    by 0x5B11F5: build_table (bitstream.c:168)
==28285==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28285==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28285==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28285==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28285==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28285==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28285==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28285==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28285==    by 0x263BAD: main (ffmpeg.c:4787)
==28285== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28285== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==28285==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28285==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28285==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28285==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28285==    by 0x5B11F5: build_table (bitstream.c:168)
==28285==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28285==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28285==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28285==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28285==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28285==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28285==    by 0x263C49: transcode (ffmpeg.c:4585)
==28285==    by 0x263C49: main (ffmpeg.c:4814)
==28285== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28285== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==28285==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28285==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28285==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28285==    by 0x5B11F5: build_table (bitstream.c:168)
==28285==    by 0x5B14D5: build_table (bitstream.c:223)
==28285==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28285==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28285==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28285==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28285==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28285==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28285==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28285==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28285==    by 0x263BAD: main (ffmpeg.c:4787)
==28285== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28285== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==28285==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28285==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28285==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28285==    by 0x5B11F5: build_table (bitstream.c:168)
==28285==    by 0x5B14D5: build_table (bitstream.c:223)
==28285==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28285==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28285==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28285==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28285==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28285==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28285==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28285==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28285==    by 0x263BAD: main (ffmpeg.c:4787)
==28285== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28285== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==28285==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28285==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28285==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28285==    by 0x5B11F5: build_table (bitstream.c:168)
==28285==    by 0x5B14D5: build_table (bitstream.c:223)
==28285==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28285==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28285==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28285==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28285==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28285==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28285==    by 0x263C49: transcode (ffmpeg.c:4585)
==28285==    by 0x263C49: main (ffmpeg.c:4814)
==28285== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28285== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==28285==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28285==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28285==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28285==    by 0x5B11F5: build_table (bitstream.c:168)
==28285==    by 0x5B14D5: build_table (bitstream.c:223)
==28285==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28285==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28285==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28285==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28285==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28285==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28285==    by 0x263C49: transcode (ffmpeg.c:4585)
==28285==    by 0x263C49: main (ffmpeg.c:4814)
==28285== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28285== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==28285==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28285==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28285==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28285==    by 0x5B11F5: build_table (bitstream.c:168)
==28285==    by 0x5B14D5: build_table (bitstream.c:223)
==28285==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28285==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28285==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28285==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28285==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28285==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28285==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28285==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28285==    by 0x263BAD: main (ffmpeg.c:4787)
==28285== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28285== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==28285==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28285==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28285==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28285==    by 0x5B11F5: build_table (bitstream.c:168)
==28285==    by 0x5B14D5: build_table (bitstream.c:223)
==28285==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28285==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28285==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28285==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28285==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28285==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28285==    by 0x263C49: transcode (ffmpeg.c:4585)
==28285==    by 0x263C49: main (ffmpeg.c:4814)
==28285== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28285== LEAK SUMMARY:
==28285==    definitely lost: 110,592 bytes in 28 blocks
==28285==    indirectly lost: 0 bytes in 0 blocks
==28285==      possibly lost: 0 bytes in 0 blocks
==28285==    still reachable: 0 bytes in 0 blocks
==28285==         suppressed: 0 bytes in 0 blocks
==28285== 
==28285== For counts of detected and suppressed errors, rerun with: -v
==28285== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth3-mpeg4-qprd1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth3-mpeg4-qprd	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth3-mpeg4-qprd	2018-04-03 13:26:15.542873359 +0000
@@ -1,4 +1,2 @@
 e3b49e22e8acbd21f34a2909bb35075e *tests/data/fate/vsynth3-mpeg4-qprd.avi
 61830 tests/data/fate/vsynth3-mpeg4-qprd.avi
-c59f2bead1c81b23fabc0a740048b110 *tests/data/fate/vsynth3-mpeg4-qprd.out.rawvideo
-stddev:    2.68 PSNR: 39.55 MAXDIFF:   27 bytes:    86700/    86700
==28233== Memcheck, a memory error detector
==28233== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28233== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28233== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 34x34 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 450k -bf 2 -trellis 1 -flags +mv4 -mpv_flags +qp_rd+mv0 -cmp 2 -subcmp 2 -mbd rd -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-qprd.avi
==28233== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7101200] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 346 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34, 346 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-qprd.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 34x34, q=2-31, 450 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/450000 buffer size: 0 vbv_delay: -1
frame=   50 fps=0.0 q=2.0 Lsize=      60kB time=00:00:01.96 bitrate= 252.4kbits/s speed=2.24x    
video:54kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 12.508188%
==28233== 
==28233== HEAP SUMMARY:
==28233==     in use at exit: 0 bytes in 0 blocks
==28233==   total heap usage: 6,281 allocs, 6,281 frees, 1,680,663 bytes allocated
==28233== 
==28233== All heap blocks were freed -- no leaks are possible
==28233== 
==28233== For counts of detected and suppressed errors, rerun with: -v
==28233== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==28277== Memcheck, a memory error detector
==28277== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28277== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28277== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-qprd.avi -threads 1 -idct simple -dct fastint -s 34x34 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-qprd.out.rawvideo
==28277== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-qprd.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 247 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 34x34 [SAR 1:1 DAR 1:1], 224 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-qprd.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34 [SAR 1:1 DAR 1:1], q=2-31, 346 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=      85kB time=00:00:02.04 bitrate= 340.0kbits/s speed=9.37x    
video:85kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==28277== 
==28277== HEAP SUMMARY:
==28277==     in use at exit: 110,592 bytes in 28 blocks
==28277==   total heap usage: 5,955 allocs, 5,927 frees, 1,739,531 bytes allocated
==28277== 
==28277== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==28277==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28277==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28277==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28277==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28277==    by 0x5B11F5: build_table (bitstream.c:168)
==28277==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28277==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28277==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28277==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28277==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28277==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28277==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28277==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28277==    by 0x263BAD: main (ffmpeg.c:4787)
==28277== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28277== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==28277==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28277==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28277==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28277==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28277==    by 0x5B11F5: build_table (bitstream.c:168)
==28277==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28277==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28277==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28277==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28277==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28277==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28277==    by 0x263C49: transcode (ffmpeg.c:4585)
==28277==    by 0x263C49: main (ffmpeg.c:4814)
==28277== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28277== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==28277==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28277==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28277==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28277==    by 0x5B11F5: build_table (bitstream.c:168)
==28277==    by 0x5B14D5: build_table (bitstream.c:223)
==28277==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28277==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28277==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28277==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28277==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28277==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28277==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28277==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28277==    by 0x263BAD: main (ffmpeg.c:4787)
==28277== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28277== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==28277==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28277==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28277==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28277==    by 0x5B11F5: build_table (bitstream.c:168)
==28277==    by 0x5B14D5: build_table (bitstream.c:223)
==28277==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28277==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28277==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28277==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28277==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28277==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28277==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28277==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28277==    by 0x263BAD: main (ffmpeg.c:4787)
==28277== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28277== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==28277==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28277==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28277==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28277==    by 0x5B11F5: build_table (bitstream.c:168)
==28277==    by 0x5B14D5: build_table (bitstream.c:223)
==28277==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28277==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28277==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28277==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28277==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28277==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28277==    by 0x263C49: transcode (ffmpeg.c:4585)
==28277==    by 0x263C49: main (ffmpeg.c:4814)
==28277== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28277== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==28277==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28277==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28277==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28277==    by 0x5B11F5: build_table (bitstream.c:168)
==28277==    by 0x5B14D5: build_table (bitstream.c:223)
==28277==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28277==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28277==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28277==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28277==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28277==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28277==    by 0x263C49: transcode (ffmpeg.c:4585)
==28277==    by 0x263C49: main (ffmpeg.c:4814)
==28277== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28277== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==28277==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28277==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28277==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28277==    by 0x5B11F5: build_table (bitstream.c:168)
==28277==    by 0x5B14D5: build_table (bitstream.c:223)
==28277==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28277==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28277==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28277==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28277==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28277==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28277==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28277==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28277==    by 0x263BAD: main (ffmpeg.c:4787)
==28277== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28277== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==28277==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28277==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28277==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28277==    by 0x5B11F5: build_table (bitstream.c:168)
==28277==    by 0x5B14D5: build_table (bitstream.c:223)
==28277==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28277==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28277==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28277==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28277==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28277==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28277==    by 0x263C49: transcode (ffmpeg.c:4585)
==28277==    by 0x263C49: main (ffmpeg.c:4814)
==28277== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28277== LEAK SUMMARY:
==28277==    definitely lost: 110,592 bytes in 28 blocks
==28277==    indirectly lost: 0 bytes in 0 blocks
==28277==      possibly lost: 0 bytes in 0 blocks
==28277==    still reachable: 0 bytes in 0 blocks
==28277==         suppressed: 0 bytes in 0 blocks
==28277== 
==28277== For counts of detected and suppressed errors, rerun with: -v
==28277== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth3-mpeg4-rc1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth3-mpeg4-rc	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth3-mpeg4-rc	2018-04-03 13:26:12.969541679 +0000
@@ -1,4 +1,2 @@
 5b51e8f91fecd621cd3aa5d687659fbc *tests/data/fate/vsynth3-mpeg4-rc.avi
 81092 tests/data/fate/vsynth3-mpeg4-rc.avi
-07ba5baf141a24561f7dba43645a3400 *tests/data/fate/vsynth3-mpeg4-rc.out.rawvideo
-stddev:    2.62 PSNR: 39.74 MAXDIFF:   23 bytes:    86700/    86700
==28183== Memcheck, a memory error detector
==28183== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28183== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28183== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 34x34 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 400k -bf 2 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-rc.avi
==28183== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100a00] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 346 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34, 346 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-rc.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 34x34, q=2-31, 400 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/400000 buffer size: 0 vbv_delay: -1
frame=   50 fps=0.0 q=2.0 Lsize=      79kB time=00:00:01.96 bitrate= 331.0kbits/s speed= 4.3x    
video:72kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 9.258960%
==28183== 
==28183== HEAP SUMMARY:
==28183==     in use at exit: 0 bytes in 0 blocks
==28183==   total heap usage: 6,192 allocs, 6,192 frees, 1,695,767 bytes allocated
==28183== 
==28183== All heap blocks were freed -- no leaks are possible
==28183== 
==28183== For counts of detected and suppressed errors, rerun with: -v
==28183== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==28203== Memcheck, a memory error detector
==28203== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28203== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28203== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-rc.avi -threads 1 -idct simple -dct fastint -s 34x34 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-rc.out.rawvideo
==28203== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-rc.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 324 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 34x34 [SAR 1:1 DAR 1:1], 302 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-rc.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34 [SAR 1:1 DAR 1:1], q=2-31, 346 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=      85kB time=00:00:02.04 bitrate= 340.0kbits/s speed=8.17x    
video:85kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==28203== 
==28203== HEAP SUMMARY:
==28203==     in use at exit: 110,592 bytes in 28 blocks
==28203==   total heap usage: 5,955 allocs, 5,927 frees, 1,778,051 bytes allocated
==28203== 
==28203== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==28203==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28203==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28203==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28203==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28203==    by 0x5B11F5: build_table (bitstream.c:168)
==28203==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28203==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28203==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28203==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28203==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28203==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28203==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28203==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28203==    by 0x263BAD: main (ffmpeg.c:4787)
==28203== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28203== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==28203==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28203==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28203==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28203==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28203==    by 0x5B11F5: build_table (bitstream.c:168)
==28203==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28203==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28203==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28203==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28203==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28203==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28203==    by 0x263C49: transcode (ffmpeg.c:4585)
==28203==    by 0x263C49: main (ffmpeg.c:4814)
==28203== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28203== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==28203==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28203==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28203==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28203==    by 0x5B11F5: build_table (bitstream.c:168)
==28203==    by 0x5B14D5: build_table (bitstream.c:223)
==28203==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28203==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28203==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28203==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28203==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28203==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28203==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28203==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28203==    by 0x263BAD: main (ffmpeg.c:4787)
==28203== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28203== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==28203==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28203==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28203==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28203==    by 0x5B11F5: build_table (bitstream.c:168)
==28203==    by 0x5B14D5: build_table (bitstream.c:223)
==28203==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28203==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28203==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28203==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28203==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28203==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28203==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28203==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28203==    by 0x263BAD: main (ffmpeg.c:4787)
==28203== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28203== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==28203==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28203==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28203==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28203==    by 0x5B11F5: build_table (bitstream.c:168)
==28203==    by 0x5B14D5: build_table (bitstream.c:223)
==28203==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28203==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28203==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28203==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28203==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28203==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28203==    by 0x263C49: transcode (ffmpeg.c:4585)
==28203==    by 0x263C49: main (ffmpeg.c:4814)
==28203== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28203== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==28203==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28203==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28203==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28203==    by 0x5B11F5: build_table (bitstream.c:168)
==28203==    by 0x5B14D5: build_table (bitstream.c:223)
==28203==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28203==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28203==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28203==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28203==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28203==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28203==    by 0x263C49: transcode (ffmpeg.c:4585)
==28203==    by 0x263C49: main (ffmpeg.c:4814)
==28203== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28203== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==28203==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28203==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28203==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28203==    by 0x5B11F5: build_table (bitstream.c:168)
==28203==    by 0x5B14D5: build_table (bitstream.c:223)
==28203==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28203==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28203==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28203==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28203==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28203==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28203==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28203==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28203==    by 0x263BAD: main (ffmpeg.c:4787)
==28203== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28203== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==28203==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28203==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28203==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28203==    by 0x5B11F5: build_table (bitstream.c:168)
==28203==    by 0x5B14D5: build_table (bitstream.c:223)
==28203==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28203==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28203==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28203==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28203==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28203==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28203==    by 0x263C49: transcode (ffmpeg.c:4585)
==28203==    by 0x263C49: main (ffmpeg.c:4814)
==28203== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28203== LEAK SUMMARY:
==28203==    definitely lost: 110,592 bytes in 28 blocks
==28203==    indirectly lost: 0 bytes in 0 blocks
==28203==      possibly lost: 0 bytes in 0 blocks
==28203==    still reachable: 0 bytes in 0 blocks
==28203==         suppressed: 0 bytes in 0 blocks
==28203== 
==28203== For counts of detected and suppressed errors, rerun with: -v
==28203== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth3-mpeg4-thread1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth3-mpeg4-thread	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth3-mpeg4-thread	2018-04-03 13:26:18.336204898 +0000
@@ -1,4 +1,2 @@
 b071631783ee76df554161fc3966f567 *tests/data/fate/vsynth3-mpeg4-thread.avi
 74582 tests/data/fate/vsynth3-mpeg4-thread.avi
-7eb4d38b01c71064406ce6705c471439 *tests/data/fate/vsynth3-mpeg4-thread.out.rawvideo
-stddev:    1.99 PSNR: 42.12 MAXDIFF:   18 bytes:    86700/    86700
==28302== Memcheck, a memory error detector
==28302== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28302== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28302== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 34x34 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 500k -flags +mv4+aic -data_partitioning 1 -trellis 1 -mbd bits -ps 200 -bf 2 -threads 2 -slices 2 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-thread.avi
==28302== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x71012c0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 346 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34, 346 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-thread.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 34x34, q=2-31, 500 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/500000 buffer size: 0 vbv_delay: -1
frame=   50 fps=0.0 q=2.0 Lsize=      73kB time=00:00:01.96 bitrate= 304.4kbits/s speed=2.41x    
video:66kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 10.160554%
==28302== 
==28302== HEAP SUMMARY:
==28302==     in use at exit: 0 bytes in 0 blocks
==28302==   total heap usage: 6,296 allocs, 6,296 frees, 1,822,688 bytes allocated
==28302== 
==28302== All heap blocks were freed -- no leaks are possible
==28302== 
==28302== For counts of detected and suppressed errors, rerun with: -v
==28302== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==28359== Memcheck, a memory error detector
==28359== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28359== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28359== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-thread.avi -threads 1 -idct simple -dct fastint -s 34x34 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-thread.out.rawvideo
==28359== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-thread.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 298 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 34x34 [SAR 1:1 DAR 1:1], 276 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-mpeg4-thread.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34 [SAR 1:1 DAR 1:1], q=2-31, 346 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=      85kB time=00:00:02.04 bitrate= 340.0kbits/s speed=8.89x    
video:85kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==28359== 
==28359== HEAP SUMMARY:
==28359==     in use at exit: 110,592 bytes in 28 blocks
==28359==   total heap usage: 5,955 allocs, 5,927 frees, 1,765,033 bytes allocated
==28359== 
==28359== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==28359==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28359==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28359==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28359==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28359==    by 0x5B11F5: build_table (bitstream.c:168)
==28359==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28359==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28359==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28359==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28359==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28359==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28359==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28359==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28359==    by 0x263BAD: main (ffmpeg.c:4787)
==28359== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28359== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==28359==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==28359==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==28359==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28359==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28359==    by 0x5B11F5: build_table (bitstream.c:168)
==28359==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28359==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28359==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28359==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28359==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28359==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28359==    by 0x263C49: transcode (ffmpeg.c:4585)
==28359==    by 0x263C49: main (ffmpeg.c:4814)
==28359== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28359== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==28359==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28359==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28359==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28359==    by 0x5B11F5: build_table (bitstream.c:168)
==28359==    by 0x5B14D5: build_table (bitstream.c:223)
==28359==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28359==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28359==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28359==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28359==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28359==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28359==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28359==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28359==    by 0x263BAD: main (ffmpeg.c:4787)
==28359== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28359== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==28359==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28359==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28359==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28359==    by 0x5B11F5: build_table (bitstream.c:168)
==28359==    by 0x5B14D5: build_table (bitstream.c:223)
==28359==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28359==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28359==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28359==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28359==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28359==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28359==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28359==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28359==    by 0x263BAD: main (ffmpeg.c:4787)
==28359== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28359== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==28359==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28359==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28359==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28359==    by 0x5B11F5: build_table (bitstream.c:168)
==28359==    by 0x5B14D5: build_table (bitstream.c:223)
==28359==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28359==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==28359==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==28359==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28359==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28359==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28359==    by 0x263C49: transcode (ffmpeg.c:4585)
==28359==    by 0x263C49: main (ffmpeg.c:4814)
==28359== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28359== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==28359==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28359==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28359==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28359==    by 0x5B11F5: build_table (bitstream.c:168)
==28359==    by 0x5B14D5: build_table (bitstream.c:223)
==28359==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28359==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==28359==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==28359==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28359==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28359==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28359==    by 0x263C49: transcode (ffmpeg.c:4585)
==28359==    by 0x263C49: main (ffmpeg.c:4814)
==28359== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28359== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==28359==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28359==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28359==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28359==    by 0x5B11F5: build_table (bitstream.c:168)
==28359==    by 0x5B14D5: build_table (bitstream.c:223)
==28359==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28359==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28359==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28359==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28359==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==28359==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==28359==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==28359==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==28359==    by 0x263BAD: main (ffmpeg.c:4787)
==28359== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==28359== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==28359==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==28359==    by 0xEDE21E: av_realloc_f (mem.c:157)
==28359==    by 0x5B11F5: alloc_table (bitstream.c:119)
==28359==    by 0x5B11F5: build_table (bitstream.c:168)
==28359==    by 0x5B14D5: build_table (bitstream.c:223)
==28359==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==28359==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==28359==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==28359==    by 0x8FE373: avcodec_open2 (utils.c:920)
==28359==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==28359==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==28359==    by 0x263C49: transcode (ffmpeg.c:4585)
==28359==    by 0x263C49: main (ffmpeg.c:4814)
==28359== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==28359== LEAK SUMMARY:
==28359==    definitely lost: 110,592 bytes in 28 blocks
==28359==    indirectly lost: 0 bytes in 0 blocks
==28359==      possibly lost: 0 bytes in 0 blocks
==28359==    still reachable: 0 bytes in 0 blocks
==28359==         suppressed: 0 bytes in 0 blocks
==28359== 
==28359== For counts of detected and suppressed errors, rerun with: -v
==28359== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth_lena-mpeg41N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth_lena-mpeg4	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth_lena-mpeg4	2018-04-03 13:42:12.512248610 +0000
@@ -1,4 +1,2 @@
 4a029747434d24d128b078a5e6aa1e88 *tests/data/fate/vsynth_lena-mpeg4.mp4
 119722 tests/data/fate/vsynth_lena-mpeg4.mp4
-9a1e085d9e488c5ead0c940c9612a37a *tests/data/fate/vsynth_lena-mpeg4.out.rawvideo
-stddev:    5.34 PSNR: 33.57 MAXDIFF:   83 bytes:  7603200/  7603200
==7956== Memcheck, a memory error detector
==7956== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==7956== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==7956== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 10 -flags +mv4 -mbd bits -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f mp4 -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4.mp4
==7956== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100b80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, mp4, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4.mp4':
    Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 19 q=10.0 Lsize=     117kB time=00:00:01.96 bitrate= 488.6kbits/s speed=0.752x    
video:116kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.861844%
==7956== 
==7956== HEAP SUMMARY:
==7956==     in use at exit: 0 bytes in 0 blocks
==7956==   total heap usage: 5,848 allocs, 5,848 frees, 9,976,360 bytes allocated
==7956== 
==7956== All heap blocks were freed -- no leaks are possible
==7956== 
==7956== For counts of detected and suppressed errors, rerun with: -v
==7956== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==8002== Memcheck, a memory error detector
==8002== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8002== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8002== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4.mp4 -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4.out.rawvideo
==8002== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
  Duration: 00:00:02.00, start: 0.000000, bitrate: 478 kb/s
    Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 474 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4.out.rawvideo':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    Stream #0:0(und): Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.00 bitrate=30412.8kbits/s speed=4.42x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==8002== 
==8002== HEAP SUMMARY:
==8002==     in use at exit: 110,592 bytes in 28 blocks
==8002==   total heap usage: 6,245 allocs, 6,217 frees, 10,087,828 bytes allocated
==8002== 
==8002== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==8002==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8002==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8002==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8002==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8002==    by 0x5B11F5: build_table (bitstream.c:168)
==8002==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8002==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8002==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8002==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8002==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8002==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8002==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8002==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8002==    by 0x263BAD: main (ffmpeg.c:4787)
==8002== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8002== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==8002==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8002==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8002==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8002==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8002==    by 0x5B11F5: build_table (bitstream.c:168)
==8002==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8002==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8002==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8002==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8002==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8002==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8002==    by 0x263C49: transcode (ffmpeg.c:4585)
==8002==    by 0x263C49: main (ffmpeg.c:4814)
==8002== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8002== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==8002==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8002==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8002==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8002==    by 0x5B11F5: build_table (bitstream.c:168)
==8002==    by 0x5B14D5: build_table (bitstream.c:223)
==8002==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8002==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8002==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8002==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8002==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8002==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8002==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8002==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8002==    by 0x263BAD: main (ffmpeg.c:4787)
==8002== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8002== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==8002==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8002==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8002==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8002==    by 0x5B11F5: build_table (bitstream.c:168)
==8002==    by 0x5B14D5: build_table (bitstream.c:223)
==8002==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8002==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8002==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8002==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8002==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8002==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8002==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8002==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8002==    by 0x263BAD: main (ffmpeg.c:4787)
==8002== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8002== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==8002==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8002==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8002==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8002==    by 0x5B11F5: build_table (bitstream.c:168)
==8002==    by 0x5B14D5: build_table (bitstream.c:223)
==8002==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8002==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8002==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8002==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8002==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8002==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8002==    by 0x263C49: transcode (ffmpeg.c:4585)
==8002==    by 0x263C49: main (ffmpeg.c:4814)
==8002== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8002== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==8002==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8002==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8002==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8002==    by 0x5B11F5: build_table (bitstream.c:168)
==8002==    by 0x5B14D5: build_table (bitstream.c:223)
==8002==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8002==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8002==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8002==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8002==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8002==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8002==    by 0x263C49: transcode (ffmpeg.c:4585)
==8002==    by 0x263C49: main (ffmpeg.c:4814)
==8002== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8002== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==8002==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8002==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8002==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8002==    by 0x5B11F5: build_table (bitstream.c:168)
==8002==    by 0x5B14D5: build_table (bitstream.c:223)
==8002==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8002==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8002==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8002==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8002==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8002==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8002==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8002==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8002==    by 0x263BAD: main (ffmpeg.c:4787)
==8002== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8002== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==8002==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8002==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8002==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8002==    by 0x5B11F5: build_table (bitstream.c:168)
==8002==    by 0x5B14D5: build_table (bitstream.c:223)
==8002==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8002==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8002==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8002==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8002==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8002==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8002==    by 0x263C49: transcode (ffmpeg.c:4585)
==8002==    by 0x263C49: main (ffmpeg.c:4814)
==8002== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8002== LEAK SUMMARY:
==8002==    definitely lost: 110,592 bytes in 28 blocks
==8002==    indirectly lost: 0 bytes in 0 blocks
==8002==      possibly lost: 0 bytes in 0 blocks
==8002==    still reachable: 0 bytes in 0 blocks
==8002==         suppressed: 0 bytes in 0 blocks
==8002== 
==8002== For counts of detected and suppressed errors, rerun with: -v
==8002== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth_lena-mpeg4-adap1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth_lena-mpeg4-adap	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth_lena-mpeg4-adap	2018-04-03 13:42:23.998907633 +0000
@@ -1,4 +1,2 @@
 c6108621b1202d32dac68b1944c5b8c2 *tests/data/fate/vsynth_lena-mpeg4-adap.avi
 198500 tests/data/fate/vsynth_lena-mpeg4-adap.avi
-87b6dbe98d276137fceaae2fa672eced *tests/data/fate/vsynth_lena-mpeg4-adap.out.rawvideo
-stddev:    3.75 PSNR: 36.65 MAXDIFF:   71 bytes:  7603200/  7603200
==8034== Memcheck, a memory error detector
==8034== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8034== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8034== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 550k -bf 2 -flags +mv4 -trellis 1 -cmp 1 -subcmp 2 -mbd rd -scplx_mask 0.3 -mpv_flags +mv0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-adap.avi
==8034== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7101380] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-adap.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 550 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/550000 buffer size: 0 vbv_delay: -1
frame=   50 fps=5.7 q=2.6 Lsize=     194kB time=00:00:01.96 bitrate= 810.2kbits/s speed=0.222x    
video:187kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.589358%
==8034== 
==8034== HEAP SUMMARY:
==8034==     in use at exit: 0 bytes in 0 blocks
==8034==   total heap usage: 6,300 allocs, 6,300 frees, 11,464,203 bytes allocated
==8034== 
==8034== All heap blocks were freed -- no leaks are possible
==8034== 
==8034== For counts of detected and suppressed errors, rerun with: -v
==8034== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==8084== Memcheck, a memory error detector
==8084== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8084== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8084== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-adap.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-adap.out.rawvideo
==8084== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-adap.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 794 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 782 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-adap.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.04 bitrate=29816.5kbits/s speed=3.43x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==8084== 
==8084== HEAP SUMMARY:
==8084==     in use at exit: 110,592 bytes in 28 blocks
==8084==   total heap usage: 5,955 allocs, 5,927 frees, 10,563,541 bytes allocated
==8084== 
==8084== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==8084==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8084==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8084==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8084==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8084==    by 0x5B11F5: build_table (bitstream.c:168)
==8084==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8084==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8084==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8084==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8084==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8084==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8084==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8084==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8084==    by 0x263BAD: main (ffmpeg.c:4787)
==8084== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8084== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==8084==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8084==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8084==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8084==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8084==    by 0x5B11F5: build_table (bitstream.c:168)
==8084==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8084==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8084==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8084==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8084==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8084==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8084==    by 0x263C49: transcode (ffmpeg.c:4585)
==8084==    by 0x263C49: main (ffmpeg.c:4814)
==8084== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8084== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==8084==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8084==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8084==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8084==    by 0x5B11F5: build_table (bitstream.c:168)
==8084==    by 0x5B14D5: build_table (bitstream.c:223)
==8084==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8084==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8084==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8084==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8084==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8084==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8084==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8084==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8084==    by 0x263BAD: main (ffmpeg.c:4787)
==8084== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8084== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==8084==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8084==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8084==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8084==    by 0x5B11F5: build_table (bitstream.c:168)
==8084==    by 0x5B14D5: build_table (bitstream.c:223)
==8084==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8084==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8084==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8084==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8084==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8084==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8084==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8084==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8084==    by 0x263BAD: main (ffmpeg.c:4787)
==8084== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8084== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==8084==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8084==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8084==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8084==    by 0x5B11F5: build_table (bitstream.c:168)
==8084==    by 0x5B14D5: build_table (bitstream.c:223)
==8084==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8084==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8084==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8084==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8084==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8084==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8084==    by 0x263C49: transcode (ffmpeg.c:4585)
==8084==    by 0x263C49: main (ffmpeg.c:4814)
==8084== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8084== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==8084==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8084==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8084==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8084==    by 0x5B11F5: build_table (bitstream.c:168)
==8084==    by 0x5B14D5: build_table (bitstream.c:223)
==8084==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8084==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8084==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8084==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8084==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8084==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8084==    by 0x263C49: transcode (ffmpeg.c:4585)
==8084==    by 0x263C49: main (ffmpeg.c:4814)
==8084== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8084== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==8084==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8084==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8084==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8084==    by 0x5B11F5: build_table (bitstream.c:168)
==8084==    by 0x5B14D5: build_table (bitstream.c:223)
==8084==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8084==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8084==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8084==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8084==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8084==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8084==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8084==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8084==    by 0x263BAD: main (ffmpeg.c:4787)
==8084== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8084== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==8084==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8084==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8084==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8084==    by 0x5B11F5: build_table (bitstream.c:168)
==8084==    by 0x5B14D5: build_table (bitstream.c:223)
==8084==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8084==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8084==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8084==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8084==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8084==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8084==    by 0x263C49: transcode (ffmpeg.c:4585)
==8084==    by 0x263C49: main (ffmpeg.c:4814)
==8084== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8084== LEAK SUMMARY:
==8084==    definitely lost: 110,592 bytes in 28 blocks
==8084==    indirectly lost: 0 bytes in 0 blocks
==8084==      possibly lost: 0 bytes in 0 blocks
==8084==    still reachable: 0 bytes in 0 blocks
==8084==         suppressed: 0 bytes in 0 blocks
==8084== 
==8084== For counts of detected and suppressed errors, rerun with: -v
==8084== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth_lena-mpeg4-adv1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth_lena-mpeg4-adv	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth_lena-mpeg4-adv	2018-04-03 13:42:16.032246267 +0000
@@ -1,4 +1,2 @@
 68117f01abe704a4ce6a664efffcfb40 *tests/data/fate/vsynth_lena-mpeg4-adv.avi
 141538 tests/data/fate/vsynth_lena-mpeg4-adv.avi
-3f3a21e9db85a9c0f7022f557a5374c1 *tests/data/fate/vsynth_lena-mpeg4-adv.out.rawvideo
-stddev:    4.94 PSNR: 34.25 MAXDIFF:   69 bytes:  7603200/  7603200
==7998== Memcheck, a memory error detector
==7998== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==7998== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==7998== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 9 -flags +mv4+aic -data_partitioning 1 -trellis 1 -mbd bits -ps 200 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-adv.avi
==7998== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100e80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-adv.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 15 q=9.0 Lsize=     138kB time=00:00:02.00 bitrate= 566.2kbits/s speed=0.593x    
video:132kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 5.105337%
==7998== 
==7998== HEAP SUMMARY:
==7998==     in use at exit: 0 bytes in 0 blocks
==7998==   total heap usage: 5,885 allocs, 5,885 frees, 11,446,425 bytes allocated
==7998== 
==7998== All heap blocks were freed -- no leaks are possible
==7998== 
==7998== For counts of detected and suppressed errors, rerun with: -v
==7998== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==8044== Memcheck, a memory error detector
==8044== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8044== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8044== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-adv.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-adv.out.rawvideo
==8044== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-adv.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 566 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 549 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-adv.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.00 bitrate=30412.8kbits/s speed=4.21x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==8044== 
==8044== HEAP SUMMARY:
==8044==     in use at exit: 110,592 bytes in 28 blocks
==8044==   total heap usage: 6,385 allocs, 6,357 frees, 10,108,789 bytes allocated
==8044== 
==8044== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==8044==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8044==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8044==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8044==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8044==    by 0x5B11F5: build_table (bitstream.c:168)
==8044==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8044==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8044==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8044==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8044==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8044==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8044==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8044==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8044==    by 0x263BAD: main (ffmpeg.c:4787)
==8044== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8044== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==8044==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8044==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8044==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8044==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8044==    by 0x5B11F5: build_table (bitstream.c:168)
==8044==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8044==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8044==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8044==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8044==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8044==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8044==    by 0x263C49: transcode (ffmpeg.c:4585)
==8044==    by 0x263C49: main (ffmpeg.c:4814)
==8044== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8044== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==8044==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8044==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8044==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8044==    by 0x5B11F5: build_table (bitstream.c:168)
==8044==    by 0x5B14D5: build_table (bitstream.c:223)
==8044==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8044==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8044==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8044==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8044==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8044==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8044==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8044==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8044==    by 0x263BAD: main (ffmpeg.c:4787)
==8044== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8044== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==8044==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8044==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8044==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8044==    by 0x5B11F5: build_table (bitstream.c:168)
==8044==    by 0x5B14D5: build_table (bitstream.c:223)
==8044==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8044==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8044==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8044==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8044==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8044==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8044==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8044==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8044==    by 0x263BAD: main (ffmpeg.c:4787)
==8044== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8044== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==8044==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8044==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8044==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8044==    by 0x5B11F5: build_table (bitstream.c:168)
==8044==    by 0x5B14D5: build_table (bitstream.c:223)
==8044==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8044==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8044==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8044==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8044==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8044==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8044==    by 0x263C49: transcode (ffmpeg.c:4585)
==8044==    by 0x263C49: main (ffmpeg.c:4814)
==8044== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8044== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==8044==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8044==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8044==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8044==    by 0x5B11F5: build_table (bitstream.c:168)
==8044==    by 0x5B14D5: build_table (bitstream.c:223)
==8044==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8044==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8044==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8044==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8044==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8044==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8044==    by 0x263C49: transcode (ffmpeg.c:4585)
==8044==    by 0x263C49: main (ffmpeg.c:4814)
==8044== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8044== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==8044==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8044==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8044==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8044==    by 0x5B11F5: build_table (bitstream.c:168)
==8044==    by 0x5B14D5: build_table (bitstream.c:223)
==8044==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8044==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8044==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8044==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8044==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8044==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8044==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8044==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8044==    by 0x263BAD: main (ffmpeg.c:4787)
==8044== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8044== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==8044==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8044==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8044==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8044==    by 0x5B11F5: build_table (bitstream.c:168)
==8044==    by 0x5B14D5: build_table (bitstream.c:223)
==8044==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8044==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8044==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8044==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8044==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8044==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8044==    by 0x263C49: transcode (ffmpeg.c:4585)
==8044==    by 0x263C49: main (ffmpeg.c:4814)
==8044== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8044== LEAK SUMMARY:
==8044==    definitely lost: 110,592 bytes in 28 blocks
==8044==    indirectly lost: 0 bytes in 0 blocks
==8044==      possibly lost: 0 bytes in 0 blocks
==8044==    still reachable: 0 bytes in 0 blocks
==8044==         suppressed: 0 bytes in 0 blocks
==8044== 
==8044== For counts of detected and suppressed errors, rerun with: -v
==8044== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth_lena-mpeg4-error1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth_lena-mpeg4-error	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth_lena-mpeg4-error	2018-04-03 13:42:29.762237133 +0000
@@ -1,4 +1,2 @@
 0126f46feb09b49144136be09ce6d26b *tests/data/fate/vsynth_lena-mpeg4-error.avi
 180368 tests/data/fate/vsynth_lena-mpeg4-error.avi
-4537ba5320f1ae0971cc6e329c366776 *tests/data/fate/vsynth_lena-mpeg4-error.out.rawvideo
-stddev:    7.65 PSNR: 30.45 MAXDIFF:  158 bytes:  7603200/  7603200
==8109== Memcheck, a memory error detector
==8109== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8109== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8109== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 7 -flags +mv4+aic -data_partitioning 1 -mbd rd -ps 250 -error_rate 10 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-error.avi
==8109== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100e80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-error.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 17 q=7.0 Lsize=     176kB time=00:00:02.00 bitrate= 721.5kbits/s speed=0.665x    
video:169kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.966891%
==8109== 
==8109== HEAP SUMMARY:
==8109==     in use at exit: 0 bytes in 0 blocks
==8109==   total heap usage: 5,882 allocs, 5,882 frees, 11,485,156 bytes allocated
==8109== 
==8109== All heap blocks were freed -- no leaks are possible
==8109== 
==8109== For counts of detected and suppressed errors, rerun with: -v
==8109== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==8148== Memcheck, a memory error detector
==8148== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8148== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8148== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-error.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-error.out.rawvideo
==8148== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-error.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 721 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 708 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
[mpeg4 @ 0x7167400] concealing 55 DC, 55 AC, 55 MV errors in I frame
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-error.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
[mpeg4 @ 0x7167400] concealing 174 DC, 174 AC, 174 MV errors in P frame
[mpeg4 @ 0x7167400] concealing 55 DC, 55 AC, 55 MV errors in I frame
[mpeg4 @ 0x7167400] concealing 190 DC, 190 AC, 190 MV errors in P frame
[mpeg4 @ 0x7167400] concealing 102 DC, 102 AC, 102 MV errors in I frame
[mpeg4 @ 0x7167400] concealing 185 DC, 185 AC, 185 MV errors in P frame
[mpeg4 @ 0x7167400] concealing 52 DC, 52 AC, 52 MV errors in I frame
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.00 bitrate=30412.8kbits/s speed=2.77x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==8148== 
==8148== HEAP SUMMARY:
==8148==     in use at exit: 110,592 bytes in 28 blocks
==8148==   total heap usage: 6,427 allocs, 6,399 frees, 10,597,707 bytes allocated
==8148== 
==8148== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==8148==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8148==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8148==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8148==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8148==    by 0x5B11F5: build_table (bitstream.c:168)
==8148==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8148==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8148==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8148==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8148==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8148==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8148==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8148==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8148==    by 0x263BAD: main (ffmpeg.c:4787)
==8148== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8148== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==8148==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8148==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8148==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8148==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8148==    by 0x5B11F5: build_table (bitstream.c:168)
==8148==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8148==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8148==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8148==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8148==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8148==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8148==    by 0x263C49: transcode (ffmpeg.c:4585)
==8148==    by 0x263C49: main (ffmpeg.c:4814)
==8148== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8148== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==8148==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8148==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8148==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8148==    by 0x5B11F5: build_table (bitstream.c:168)
==8148==    by 0x5B14D5: build_table (bitstream.c:223)
==8148==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8148==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8148==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8148==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8148==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8148==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8148==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8148==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8148==    by 0x263BAD: main (ffmpeg.c:4787)
==8148== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8148== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==8148==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8148==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8148==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8148==    by 0x5B11F5: build_table (bitstream.c:168)
==8148==    by 0x5B14D5: build_table (bitstream.c:223)
==8148==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8148==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8148==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8148==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8148==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8148==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8148==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8148==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8148==    by 0x263BAD: main (ffmpeg.c:4787)
==8148== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8148== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==8148==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8148==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8148==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8148==    by 0x5B11F5: build_table (bitstream.c:168)
==8148==    by 0x5B14D5: build_table (bitstream.c:223)
==8148==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8148==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8148==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8148==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8148==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8148==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8148==    by 0x263C49: transcode (ffmpeg.c:4585)
==8148==    by 0x263C49: main (ffmpeg.c:4814)
==8148== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8148== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==8148==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8148==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8148==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8148==    by 0x5B11F5: build_table (bitstream.c:168)
==8148==    by 0x5B14D5: build_table (bitstream.c:223)
==8148==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8148==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8148==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8148==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8148==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8148==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8148==    by 0x263C49: transcode (ffmpeg.c:4585)
==8148==    by 0x263C49: main (ffmpeg.c:4814)
==8148== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8148== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==8148==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8148==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8148==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8148==    by 0x5B11F5: build_table (bitstream.c:168)
==8148==    by 0x5B14D5: build_table (bitstream.c:223)
==8148==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8148==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8148==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8148==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8148==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8148==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8148==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8148==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8148==    by 0x263BAD: main (ffmpeg.c:4787)
==8148== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8148== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==8148==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8148==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8148==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8148==    by 0x5B11F5: build_table (bitstream.c:168)
==8148==    by 0x5B14D5: build_table (bitstream.c:223)
==8148==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8148==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8148==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8148==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8148==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8148==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8148==    by 0x263C49: transcode (ffmpeg.c:4585)
==8148==    by 0x263C49: main (ffmpeg.c:4814)
==8148== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8148== LEAK SUMMARY:
==8148==    definitely lost: 110,592 bytes in 28 blocks
==8148==    indirectly lost: 0 bytes in 0 blocks
==8148==      possibly lost: 0 bytes in 0 blocks
==8148==    still reachable: 0 bytes in 0 blocks
==8148==         suppressed: 0 bytes in 0 blocks
==8148== 
==8148== For counts of detected and suppressed errors, rerun with: -v
==8148== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth_lena-mpeg4-nr1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth_lena-mpeg4-nr	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth_lena-mpeg4-nr	2018-04-03 13:42:30.412236701 +0000
@@ -1,4 +1,2 @@
 c1cf10bd999899bce94be0efd15c3605 *tests/data/fate/vsynth_lena-mpeg4-nr.avi
 154998 tests/data/fate/vsynth_lena-mpeg4-nr.avi
-d89cd5d0b1707f48fa9c4747c66d2d56 *tests/data/fate/vsynth_lena-mpeg4-nr.out.rawvideo
-stddev:    4.73 PSNR: 34.63 MAXDIFF:   64 bytes:  7603200/  7603200
==8127== Memcheck, a memory error detector
==8127== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8127== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8127== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 8 -flags +mv4 -mbd rd -noise_reduction 200 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-nr.avi
==8127== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100cc0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-nr.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 16 q=8.0 Lsize=     151kB time=00:00:02.00 bitrate= 620.0kbits/s speed=0.643x    
video:145kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 4.644945%
==8127== 
==8127== HEAP SUMMARY:
==8127==     in use at exit: 0 bytes in 0 blocks
==8127==   total heap usage: 5,855 allocs, 5,855 frees, 10,181,862 bytes allocated
==8127== 
==8127== All heap blocks were freed -- no leaks are possible
==8127== 
==8127== For counts of detected and suppressed errors, rerun with: -v
==8127== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==8152== Memcheck, a memory error detector
==8152== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8152== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8152== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-nr.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-nr.out.rawvideo
==8152== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-nr.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 619 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 604 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-nr.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.00 bitrate=30412.8kbits/s speed= 4.2x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==8152== 
==8152== HEAP SUMMARY:
==8152==     in use at exit: 110,592 bytes in 28 blocks
==8152==   total heap usage: 6,385 allocs, 6,357 frees, 10,135,695 bytes allocated
==8152== 
==8152== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==8152==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8152==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8152==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8152==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8152==    by 0x5B11F5: build_table (bitstream.c:168)
==8152==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8152==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8152==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8152==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8152==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8152==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8152==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8152==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8152==    by 0x263BAD: main (ffmpeg.c:4787)
==8152== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8152== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==8152==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8152==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8152==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8152==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8152==    by 0x5B11F5: build_table (bitstream.c:168)
==8152==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8152==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8152==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8152==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8152==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8152==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8152==    by 0x263C49: transcode (ffmpeg.c:4585)
==8152==    by 0x263C49: main (ffmpeg.c:4814)
==8152== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8152== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==8152==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8152==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8152==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8152==    by 0x5B11F5: build_table (bitstream.c:168)
==8152==    by 0x5B14D5: build_table (bitstream.c:223)
==8152==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8152==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8152==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8152==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8152==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8152==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8152==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8152==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8152==    by 0x263BAD: main (ffmpeg.c:4787)
==8152== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8152== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==8152==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8152==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8152==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8152==    by 0x5B11F5: build_table (bitstream.c:168)
==8152==    by 0x5B14D5: build_table (bitstream.c:223)
==8152==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8152==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8152==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8152==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8152==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8152==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8152==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8152==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8152==    by 0x263BAD: main (ffmpeg.c:4787)
==8152== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8152== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==8152==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8152==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8152==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8152==    by 0x5B11F5: build_table (bitstream.c:168)
==8152==    by 0x5B14D5: build_table (bitstream.c:223)
==8152==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8152==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8152==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8152==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8152==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8152==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8152==    by 0x263C49: transcode (ffmpeg.c:4585)
==8152==    by 0x263C49: main (ffmpeg.c:4814)
==8152== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8152== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==8152==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8152==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8152==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8152==    by 0x5B11F5: build_table (bitstream.c:168)
==8152==    by 0x5B14D5: build_table (bitstream.c:223)
==8152==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8152==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8152==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8152==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8152==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8152==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8152==    by 0x263C49: transcode (ffmpeg.c:4585)
==8152==    by 0x263C49: main (ffmpeg.c:4814)
==8152== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8152== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==8152==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8152==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8152==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8152==    by 0x5B11F5: build_table (bitstream.c:168)
==8152==    by 0x5B14D5: build_table (bitstream.c:223)
==8152==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8152==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8152==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8152==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8152==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8152==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8152==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8152==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8152==    by 0x263BAD: main (ffmpeg.c:4787)
==8152== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8152== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==8152==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8152==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8152==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8152==    by 0x5B11F5: build_table (bitstream.c:168)
==8152==    by 0x5B14D5: build_table (bitstream.c:223)
==8152==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8152==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8152==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8152==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8152==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8152==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8152==    by 0x263C49: transcode (ffmpeg.c:4585)
==8152==    by 0x263C49: main (ffmpeg.c:4814)
==8152== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8152== LEAK SUMMARY:
==8152==    definitely lost: 110,592 bytes in 28 blocks
==8152==    indirectly lost: 0 bytes in 0 blocks
==8152==      possibly lost: 0 bytes in 0 blocks
==8152==    still reachable: 0 bytes in 0 blocks
==8152==         suppressed: 0 bytes in 0 blocks
==8152== 
==8152== For counts of detected and suppressed errors, rerun with: -v
==8152== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth_lena-mpeg4-nsse1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth_lena-mpeg4-nsse	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth_lena-mpeg4-nsse	2018-04-03 13:42:30.468903330 +0000
@@ -1,4 +1,2 @@
 f09593231b2137ae2064845c315b6a0b *tests/data/fate/vsynth_lena-mpeg4-nsse.avi
 198438 tests/data/fate/vsynth_lena-mpeg4-nsse.avi
-59864a1050e641eaed8b0ee077bc780b *tests/data/fate/vsynth_lena-mpeg4-nsse.out.rawvideo
-stddev:    4.32 PSNR: 35.40 MAXDIFF:   60 bytes:  7603200/  7603200
==8144== Memcheck, a memory error detector
==8144== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8144== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8144== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 7 -cmp nsse -subcmp nsse -mbcmp nsse -precmp nsse -skipcmp nsse -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-nsse.avi
==8144== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100ec0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-nsse.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 20 q=7.0 Lsize=     194kB time=00:00:02.00 bitrate= 793.8kbits/s speed=0.805x    
video:187kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.591061%
==8144== 
==8144== HEAP SUMMARY:
==8144==     in use at exit: 0 bytes in 0 blocks
==8144==   total heap usage: 5,898 allocs, 5,898 frees, 10,226,556 bytes allocated
==8144== 
==8144== All heap blocks were freed -- no leaks are possible
==8144== 
==8144== For counts of detected and suppressed errors, rerun with: -v
==8144== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==8156== Memcheck, a memory error detector
==8156== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8156== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8156== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-nsse.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-nsse.out.rawvideo
==8156== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-nsse.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 793 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 781 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-nsse.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.00 bitrate=30412.8kbits/s speed=4.09x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==8156== 
==8156== HEAP SUMMARY:
==8156==     in use at exit: 110,592 bytes in 28 blocks
==8156==   total heap usage: 6,385 allocs, 6,357 frees, 10,222,585 bytes allocated
==8156== 
==8156== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==8156==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8156==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8156==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8156==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8156==    by 0x5B11F5: build_table (bitstream.c:168)
==8156==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8156==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8156==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8156==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8156==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8156==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8156==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8156==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8156==    by 0x263BAD: main (ffmpeg.c:4787)
==8156== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8156== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==8156==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8156==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8156==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8156==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8156==    by 0x5B11F5: build_table (bitstream.c:168)
==8156==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8156==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8156==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8156==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8156==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8156==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8156==    by 0x263C49: transcode (ffmpeg.c:4585)
==8156==    by 0x263C49: main (ffmpeg.c:4814)
==8156== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8156== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==8156==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8156==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8156==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8156==    by 0x5B11F5: build_table (bitstream.c:168)
==8156==    by 0x5B14D5: build_table (bitstream.c:223)
==8156==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8156==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8156==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8156==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8156==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8156==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8156==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8156==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8156==    by 0x263BAD: main (ffmpeg.c:4787)
==8156== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8156== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==8156==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8156==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8156==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8156==    by 0x5B11F5: build_table (bitstream.c:168)
==8156==    by 0x5B14D5: build_table (bitstream.c:223)
==8156==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8156==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8156==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8156==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8156==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8156==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8156==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8156==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8156==    by 0x263BAD: main (ffmpeg.c:4787)
==8156== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8156== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==8156==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8156==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8156==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8156==    by 0x5B11F5: build_table (bitstream.c:168)
==8156==    by 0x5B14D5: build_table (bitstream.c:223)
==8156==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8156==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8156==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8156==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8156==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8156==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8156==    by 0x263C49: transcode (ffmpeg.c:4585)
==8156==    by 0x263C49: main (ffmpeg.c:4814)
==8156== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8156== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==8156==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8156==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8156==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8156==    by 0x5B11F5: build_table (bitstream.c:168)
==8156==    by 0x5B14D5: build_table (bitstream.c:223)
==8156==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8156==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8156==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8156==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8156==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8156==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8156==    by 0x263C49: transcode (ffmpeg.c:4585)
==8156==    by 0x263C49: main (ffmpeg.c:4814)
==8156== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8156== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==8156==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8156==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8156==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8156==    by 0x5B11F5: build_table (bitstream.c:168)
==8156==    by 0x5B14D5: build_table (bitstream.c:223)
==8156==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8156==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8156==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8156==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8156==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8156==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8156==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8156==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8156==    by 0x263BAD: main (ffmpeg.c:4787)
==8156== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8156== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==8156==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8156==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8156==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8156==    by 0x5B11F5: build_table (bitstream.c:168)
==8156==    by 0x5B14D5: build_table (bitstream.c:223)
==8156==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8156==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8156==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8156==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8156==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8156==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8156==    by 0x263C49: transcode (ffmpeg.c:4585)
==8156==    by 0x263C49: main (ffmpeg.c:4814)
==8156== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8156== LEAK SUMMARY:
==8156==    definitely lost: 110,592 bytes in 28 blocks
==8156==    indirectly lost: 0 bytes in 0 blocks
==8156==      possibly lost: 0 bytes in 0 blocks
==8156==    still reachable: 0 bytes in 0 blocks
==8156==         suppressed: 0 bytes in 0 blocks
==8156== 
==8156== For counts of detected and suppressed errors, rerun with: -v
==8156== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth_lena-mpeg4-qpel1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth_lena-mpeg4-qpel	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth_lena-mpeg4-qpel	2018-04-03 13:42:38.742231163 +0000
@@ -1,4 +1,2 @@
 04d020deb9956fb2b5970a16986d688c *tests/data/fate/vsynth_lena-mpeg4-qpel.avi
 163666 tests/data/fate/vsynth_lena-mpeg4-qpel.avi
-e2ce994dbb66da51c2e1ad26617d7c2f *tests/data/fate/vsynth_lena-mpeg4-qpel.out.rawvideo
-stddev:    3.97 PSNR: 36.14 MAXDIFF:   54 bytes:  7603200/  7603200
==8061== Memcheck, a memory error detector
==8061== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8061== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8061== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -qscale 7 -flags +mv4+qpel -mbd 2 -bf 2 -cmp 1 -subcmp 2 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-qpel.avi
==8061== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100f80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-qpel.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=   50 fps=2.4 q=7.0 Lsize=     160kB time=00:00:01.96 bitrate= 668.0kbits/s speed=0.0955x    
video:153kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 4.386149%
==8061== 
==8061== HEAP SUMMARY:
==8061==     in use at exit: 0 bytes in 0 blocks
==8061==   total heap usage: 6,235 allocs, 6,235 frees, 11,425,711 bytes allocated
==8061== 
==8061== All heap blocks were freed -- no leaks are possible
==8061== 
==8061== For counts of detected and suppressed errors, rerun with: -v
==8061== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==8259== Memcheck, a memory error detector
==8259== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8259== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8259== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-qpel.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-qpel.out.rawvideo
==8259== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-qpel.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 654 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 639 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-qpel.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps= 50 q=-0.0 Lsize=    7425kB time=00:00:02.04 bitrate=29816.5kbits/s speed=2.03x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==8259== 
==8259== HEAP SUMMARY:
==8259==     in use at exit: 110,592 bytes in 28 blocks
==8259==   total heap usage: 5,955 allocs, 5,927 frees, 10,493,875 bytes allocated
==8259== 
==8259== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==8259==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8259==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8259==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8259==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8259==    by 0x5B11F5: build_table (bitstream.c:168)
==8259==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8259==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8259==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8259==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8259==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8259==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8259==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8259==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8259==    by 0x263BAD: main (ffmpeg.c:4787)
==8259== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8259== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==8259==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8259==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8259==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8259==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8259==    by 0x5B11F5: build_table (bitstream.c:168)
==8259==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8259==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8259==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8259==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8259==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8259==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8259==    by 0x263C49: transcode (ffmpeg.c:4585)
==8259==    by 0x263C49: main (ffmpeg.c:4814)
==8259== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8259== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==8259==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8259==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8259==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8259==    by 0x5B11F5: build_table (bitstream.c:168)
==8259==    by 0x5B14D5: build_table (bitstream.c:223)
==8259==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8259==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8259==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8259==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8259==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8259==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8259==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8259==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8259==    by 0x263BAD: main (ffmpeg.c:4787)
==8259== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8259== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==8259==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8259==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8259==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8259==    by 0x5B11F5: build_table (bitstream.c:168)
==8259==    by 0x5B14D5: build_table (bitstream.c:223)
==8259==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8259==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8259==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8259==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8259==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8259==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8259==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8259==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8259==    by 0x263BAD: main (ffmpeg.c:4787)
==8259== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8259== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==8259==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8259==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8259==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8259==    by 0x5B11F5: build_table (bitstream.c:168)
==8259==    by 0x5B14D5: build_table (bitstream.c:223)
==8259==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8259==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8259==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8259==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8259==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8259==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8259==    by 0x263C49: transcode (ffmpeg.c:4585)
==8259==    by 0x263C49: main (ffmpeg.c:4814)
==8259== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8259== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==8259==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8259==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8259==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8259==    by 0x5B11F5: build_table (bitstream.c:168)
==8259==    by 0x5B14D5: build_table (bitstream.c:223)
==8259==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8259==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8259==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8259==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8259==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8259==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8259==    by 0x263C49: transcode (ffmpeg.c:4585)
==8259==    by 0x263C49: main (ffmpeg.c:4814)
==8259== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8259== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==8259==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8259==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8259==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8259==    by 0x5B11F5: build_table (bitstream.c:168)
==8259==    by 0x5B14D5: build_table (bitstream.c:223)
==8259==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8259==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8259==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8259==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8259==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8259==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8259==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8259==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8259==    by 0x263BAD: main (ffmpeg.c:4787)
==8259== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8259== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==8259==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8259==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8259==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8259==    by 0x5B11F5: build_table (bitstream.c:168)
==8259==    by 0x5B14D5: build_table (bitstream.c:223)
==8259==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8259==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8259==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8259==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8259==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8259==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8259==    by 0x263C49: transcode (ffmpeg.c:4585)
==8259==    by 0x263C49: main (ffmpeg.c:4814)
==8259== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8259== LEAK SUMMARY:
==8259==    definitely lost: 110,592 bytes in 28 blocks
==8259==    indirectly lost: 0 bytes in 0 blocks
==8259==      possibly lost: 0 bytes in 0 blocks
==8259==    still reachable: 0 bytes in 0 blocks
==8259==         suppressed: 0 bytes in 0 blocks
==8259== 
==8259== For counts of detected and suppressed errors, rerun with: -v
==8259== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth_lena-mpeg4-qprd1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth_lena-mpeg4-qprd	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth_lena-mpeg4-qprd	2018-04-03 13:42:24.535573943 +0000
@@ -1,4 +1,2 @@
 5342abedb8fdc788e08c344d4122f2dc *tests/data/fate/vsynth_lena-mpeg4-qprd.avi
 231454 tests/data/fate/vsynth_lena-mpeg4-qprd.avi
-3071250e0864546c2455c9f9c9b8604e *tests/data/fate/vsynth_lena-mpeg4-qprd.out.rawvideo
-stddev:    3.71 PSNR: 36.72 MAXDIFF:   61 bytes:  7603200/  7603200
==8017== Memcheck, a memory error detector
==8017== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8017== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8017== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 450k -bf 2 -trellis 1 -flags +mv4 -mpv_flags +qp_rd+mv0 -cmp 2 -subcmp 2 -mbd rd -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-qprd.avi
==8017== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7101200] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-qprd.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 450 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/450000 buffer size: 0 vbv_delay: -1
frame=   50 fps=4.6 q=8.2 Lsize=     226kB time=00:00:01.96 bitrate= 944.7kbits/s speed=0.181x    
video:219kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.062201%
==8017== 
==8017== HEAP SUMMARY:
==8017==     in use at exit: 0 bytes in 0 blocks
==8017==   total heap usage: 6,281 allocs, 6,281 frees, 11,496,012 bytes allocated
==8017== 
==8017== All heap blocks were freed -- no leaks are possible
==8017== 
==8017== For counts of detected and suppressed errors, rerun with: -v
==8017== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==8088== Memcheck, a memory error detector
==8088== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8088== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8088== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-qprd.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-qprd.out.rawvideo
==8088== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-qprd.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 925 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 916 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-qprd.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.04 bitrate=29816.5kbits/s speed=3.47x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==8088== 
==8088== HEAP SUMMARY:
==8088==     in use at exit: 110,592 bytes in 28 blocks
==8088==   total heap usage: 5,955 allocs, 5,927 frees, 10,629,451 bytes allocated
==8088== 
==8088== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==8088==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8088==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8088==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8088==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8088==    by 0x5B11F5: build_table (bitstream.c:168)
==8088==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8088==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8088==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8088==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8088==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8088==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8088==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8088==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8088==    by 0x263BAD: main (ffmpeg.c:4787)
==8088== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8088== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==8088==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8088==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8088==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8088==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8088==    by 0x5B11F5: build_table (bitstream.c:168)
==8088==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8088==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8088==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8088==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8088==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8088==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8088==    by 0x263C49: transcode (ffmpeg.c:4585)
==8088==    by 0x263C49: main (ffmpeg.c:4814)
==8088== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8088== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==8088==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8088==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8088==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8088==    by 0x5B11F5: build_table (bitstream.c:168)
==8088==    by 0x5B14D5: build_table (bitstream.c:223)
==8088==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8088==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8088==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8088==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8088==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8088==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8088==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8088==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8088==    by 0x263BAD: main (ffmpeg.c:4787)
==8088== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8088== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==8088==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8088==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8088==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8088==    by 0x5B11F5: build_table (bitstream.c:168)
==8088==    by 0x5B14D5: build_table (bitstream.c:223)
==8088==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8088==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8088==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8088==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8088==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8088==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8088==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8088==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8088==    by 0x263BAD: main (ffmpeg.c:4787)
==8088== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8088== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==8088==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8088==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8088==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8088==    by 0x5B11F5: build_table (bitstream.c:168)
==8088==    by 0x5B14D5: build_table (bitstream.c:223)
==8088==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8088==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8088==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8088==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8088==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8088==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8088==    by 0x263C49: transcode (ffmpeg.c:4585)
==8088==    by 0x263C49: main (ffmpeg.c:4814)
==8088== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8088== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==8088==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8088==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8088==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8088==    by 0x5B11F5: build_table (bitstream.c:168)
==8088==    by 0x5B14D5: build_table (bitstream.c:223)
==8088==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8088==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8088==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8088==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8088==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8088==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8088==    by 0x263C49: transcode (ffmpeg.c:4585)
==8088==    by 0x263C49: main (ffmpeg.c:4814)
==8088== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8088== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==8088==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8088==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8088==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8088==    by 0x5B11F5: build_table (bitstream.c:168)
==8088==    by 0x5B14D5: build_table (bitstream.c:223)
==8088==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8088==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8088==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8088==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8088==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8088==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8088==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8088==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8088==    by 0x263BAD: main (ffmpeg.c:4787)
==8088== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8088== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==8088==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8088==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8088==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8088==    by 0x5B11F5: build_table (bitstream.c:168)
==8088==    by 0x5B14D5: build_table (bitstream.c:223)
==8088==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8088==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8088==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8088==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8088==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8088==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8088==    by 0x263C49: transcode (ffmpeg.c:4585)
==8088==    by 0x263C49: main (ffmpeg.c:4814)
==8088== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8088== LEAK SUMMARY:
==8088==    definitely lost: 110,592 bytes in 28 blocks
==8088==    indirectly lost: 0 bytes in 0 blocks
==8088==      possibly lost: 0 bytes in 0 blocks
==8088==    still reachable: 0 bytes in 0 blocks
==8088==         suppressed: 0 bytes in 0 blocks
==8088== 
==8088== For counts of detected and suppressed errors, rerun with: -v
==8088== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth_lena-mpeg4-rc1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth_lena-mpeg4-rc	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth_lena-mpeg4-rc	2018-04-03 13:42:15.485579964 +0000
@@ -1,4 +1,2 @@
 396a76466dee56e2714dfa42cebe3d2d *tests/data/fate/vsynth_lena-mpeg4-rc.avi
 226314 tests/data/fate/vsynth_lena-mpeg4-rc.avi
-6e8b62e8c3bcbfdcc58afb69a0b1c4e3 *tests/data/fate/vsynth_lena-mpeg4-rc.out.rawvideo
-stddev:    4.23 PSNR: 35.60 MAXDIFF:   85 bytes:  7603200/  7603200
==7983== Memcheck, a memory error detector
==7983== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==7983== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==7983== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 400k -bf 2 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-rc.avi
==7983== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7100a00] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-rc.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 400 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/400000 buffer size: 0 vbv_delay: -1
frame=   50 fps= 15 q=9.9 Lsize=     221kB time=00:00:01.96 bitrate= 923.7kbits/s speed=0.577x    
video:214kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.133459%
==7983== 
==7983== HEAP SUMMARY:
==7983==     in use at exit: 0 bytes in 0 blocks
==7983==   total heap usage: 6,192 allocs, 6,192 frees, 11,486,713 bytes allocated
==7983== 
==7983== All heap blocks were freed -- no leaks are possible
==7983== 
==7983== For counts of detected and suppressed errors, rerun with: -v
==7983== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==8040== Memcheck, a memory error detector
==8040== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8040== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8040== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-rc.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-rc.out.rawvideo
==8040== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-rc.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 905 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 895 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-rc.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.04 bitrate=29816.5kbits/s speed=3.59x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==8040== 
==8040== HEAP SUMMARY:
==8040==     in use at exit: 110,592 bytes in 28 blocks
==8040==   total heap usage: 5,955 allocs, 5,927 frees, 10,619,165 bytes allocated
==8040== 
==8040== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==8040==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8040==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8040==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8040==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8040==    by 0x5B11F5: build_table (bitstream.c:168)
==8040==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8040==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8040==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8040==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8040==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8040==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8040==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8040==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8040==    by 0x263BAD: main (ffmpeg.c:4787)
==8040== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8040== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==8040==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8040==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8040==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8040==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8040==    by 0x5B11F5: build_table (bitstream.c:168)
==8040==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8040==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8040==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8040==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8040==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8040==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8040==    by 0x263C49: transcode (ffmpeg.c:4585)
==8040==    by 0x263C49: main (ffmpeg.c:4814)
==8040== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8040== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==8040==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8040==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8040==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8040==    by 0x5B11F5: build_table (bitstream.c:168)
==8040==    by 0x5B14D5: build_table (bitstream.c:223)
==8040==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8040==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8040==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8040==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8040==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8040==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8040==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8040==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8040==    by 0x263BAD: main (ffmpeg.c:4787)
==8040== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8040== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==8040==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8040==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8040==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8040==    by 0x5B11F5: build_table (bitstream.c:168)
==8040==    by 0x5B14D5: build_table (bitstream.c:223)
==8040==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8040==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8040==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8040==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8040==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8040==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8040==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8040==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8040==    by 0x263BAD: main (ffmpeg.c:4787)
==8040== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8040== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==8040==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8040==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8040==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8040==    by 0x5B11F5: build_table (bitstream.c:168)
==8040==    by 0x5B14D5: build_table (bitstream.c:223)
==8040==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8040==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8040==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8040==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8040==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8040==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8040==    by 0x263C49: transcode (ffmpeg.c:4585)
==8040==    by 0x263C49: main (ffmpeg.c:4814)
==8040== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8040== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==8040==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8040==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8040==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8040==    by 0x5B11F5: build_table (bitstream.c:168)
==8040==    by 0x5B14D5: build_table (bitstream.c:223)
==8040==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8040==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8040==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8040==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8040==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8040==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8040==    by 0x263C49: transcode (ffmpeg.c:4585)
==8040==    by 0x263C49: main (ffmpeg.c:4814)
==8040== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8040== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==8040==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8040==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8040==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8040==    by 0x5B11F5: build_table (bitstream.c:168)
==8040==    by 0x5B14D5: build_table (bitstream.c:223)
==8040==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8040==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8040==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8040==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8040==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8040==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8040==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8040==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8040==    by 0x263BAD: main (ffmpeg.c:4787)
==8040== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8040== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==8040==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8040==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8040==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8040==    by 0x5B11F5: build_table (bitstream.c:168)
==8040==    by 0x5B14D5: build_table (bitstream.c:223)
==8040==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8040==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8040==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8040==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8040==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8040==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8040==    by 0x263C49: transcode (ffmpeg.c:4585)
==8040==    by 0x263C49: main (ffmpeg.c:4814)
==8040== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8040== LEAK SUMMARY:
==8040==    definitely lost: 110,592 bytes in 28 blocks
==8040==    indirectly lost: 0 bytes in 0 blocks
==8040==      possibly lost: 0 bytes in 0 blocks
==8040==    still reachable: 0 bytes in 0 blocks
==8040==         suppressed: 0 bytes in 0 blocks
==8040== 
==8040== For counts of detected and suppressed errors, rerun with: -v
==8040== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrvsynth_lena-mpeg4-thread1N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth_lena-mpeg4-thread	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth_lena-mpeg4-thread	2018-04-03 13:42:25.222240153 +0000
@@ -1,4 +1,2 @@
 af5ea0bab124371051eb104552344b2e *tests/data/fate/vsynth_lena-mpeg4-thread.avi
 250096 tests/data/fate/vsynth_lena-mpeg4-thread.avi
-045fe9f226bbcc3d41644bffaed03b31 *tests/data/fate/vsynth_lena-mpeg4-thread.out.rawvideo
-stddev:    3.69 PSNR: 36.78 MAXDIFF:   65 bytes:  7603200/  7603200
==8078== Memcheck, a memory error detector
==8078== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8078== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8078== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv -threads 1 -idct simple -dct fastint -c mpeg4 -b 500k -flags +mv4+aic -data_partitioning 1 -trellis 1 -mbd bits -ps 200 -bf 2 -threads 2 -slices 2 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-thread.avi
==8078== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x71012c0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-thread.avi':
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 500 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/500000 buffer size: 0 vbv_delay: -1
frame=   50 fps=7.7 q=7.8 Lsize=     244kB time=00:00:01.96 bitrate=1020.8kbits/s speed=0.301x    
video:238kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.826647%
==8078== 
==8078== HEAP SUMMARY:
==8078==     in use at exit: 0 bytes in 0 blocks
==8078==   total heap usage: 6,296 allocs, 6,296 frees, 13,074,700 bytes allocated
==8078== 
==8078== All heap blocks were freed -- no leaks are possible
==8078== 
==8078== For counts of detected and suppressed errors, rerun with: -v
==8078== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==8092== Memcheck, a memory error detector
==8092== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8092== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8092== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-thread.avi -threads 1 -idct simple -dct fastint -s 352x288 -pix_fmt yuv420p -vsync 0 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f rawvideo -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-thread.out.rawvideo
==8092== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, avi, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-thread.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 1000 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (FMP4 / 0x34504D46), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 992 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, rawvideo, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-mpeg4-thread.out.rawvideo':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288 [SAR 1:1 DAR 11:9], q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   50 fps=0.0 q=-0.0 Lsize=    7425kB time=00:00:02.04 bitrate=29816.5kbits/s speed=3.42x    
video:7425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
==8092== 
==8092== HEAP SUMMARY:
==8092==     in use at exit: 110,592 bytes in 28 blocks
==8092==   total heap usage: 5,955 allocs, 5,927 frees, 10,666,747 bytes allocated
==8092== 
==8092== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==8092==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8092==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8092==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8092==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8092==    by 0x5B11F5: build_table (bitstream.c:168)
==8092==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8092==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8092==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8092==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8092==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8092==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8092==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8092==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8092==    by 0x263BAD: main (ffmpeg.c:4787)
==8092== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8092== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==8092==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==8092==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==8092==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8092==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8092==    by 0x5B11F5: build_table (bitstream.c:168)
==8092==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8092==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8092==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8092==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8092==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8092==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8092==    by 0x263C49: transcode (ffmpeg.c:4585)
==8092==    by 0x263C49: main (ffmpeg.c:4814)
==8092== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8092== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==8092==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8092==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8092==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8092==    by 0x5B11F5: build_table (bitstream.c:168)
==8092==    by 0x5B14D5: build_table (bitstream.c:223)
==8092==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8092==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8092==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8092==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8092==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8092==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8092==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8092==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8092==    by 0x263BAD: main (ffmpeg.c:4787)
==8092== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8092== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==8092==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8092==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8092==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8092==    by 0x5B11F5: build_table (bitstream.c:168)
==8092==    by 0x5B14D5: build_table (bitstream.c:223)
==8092==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8092==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8092==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8092==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8092==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8092==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8092==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8092==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8092==    by 0x263BAD: main (ffmpeg.c:4787)
==8092== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8092== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==8092==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8092==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8092==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8092==    by 0x5B11F5: build_table (bitstream.c:168)
==8092==    by 0x5B14D5: build_table (bitstream.c:223)
==8092==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8092==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==8092==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==8092==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8092==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8092==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8092==    by 0x263C49: transcode (ffmpeg.c:4585)
==8092==    by 0x263C49: main (ffmpeg.c:4814)
==8092== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8092== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==8092==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8092==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8092==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8092==    by 0x5B11F5: build_table (bitstream.c:168)
==8092==    by 0x5B14D5: build_table (bitstream.c:223)
==8092==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8092==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==8092==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==8092==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8092==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8092==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8092==    by 0x263C49: transcode (ffmpeg.c:4585)
==8092==    by 0x263C49: main (ffmpeg.c:4814)
==8092== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8092== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==8092==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8092==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8092==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8092==    by 0x5B11F5: build_table (bitstream.c:168)
==8092==    by 0x5B14D5: build_table (bitstream.c:223)
==8092==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8092==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8092==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8092==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8092==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==8092==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==8092==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==8092==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==8092==    by 0x263BAD: main (ffmpeg.c:4787)
==8092== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==8092== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==8092==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==8092==    by 0xEDE21E: av_realloc_f (mem.c:157)
==8092==    by 0x5B11F5: alloc_table (bitstream.c:119)
==8092==    by 0x5B11F5: build_table (bitstream.c:168)
==8092==    by 0x5B14D5: build_table (bitstream.c:223)
==8092==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==8092==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==8092==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==8092==    by 0x8FE373: avcodec_open2 (utils.c:920)
==8092==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==8092==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==8092==    by 0x263C49: transcode (ffmpeg.c:4585)
==8092==    by 0x263C49: main (ffmpeg.c:4814)
==8092== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==8092== LEAK SUMMARY:
==8092==    definitely lost: 110,592 bytes in 28 blocks
==8092==    indirectly lost: 0 bytes in 0 blocks
==8092==      possibly lost: 0 bytes in 0 blocks
==8092==    still reachable: 0 bytes in 0 blocks
==8092==         suppressed: 0 bytes in 0 blocks
==8092== 
==8092== For counts of detected and suppressed errors, rerun with: -v
==8092== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrxvid-custom-matrix1N-101748-g797c2ecc8f
No diff output recorded
==1881== Memcheck, a memory error detector
==1881== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==1881== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==1881== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -flags +bitexact -idct simple -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/mpeg4/xvid_vlc_trac7411.h263 -bitexact -f framemd5 -
==1881== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, m4v, from '/home/fate/fate-suite/mpeg4/xvid_vlc_trac7411.h263':
  Duration: N/A, start: 1.000000, bitrate: N/A
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 720x576 [SAR 16:11 DAR 20:11], 25 tbr, 1200k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, framemd5, to 'pipe:':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x576 [SAR 16:11 DAR 20:11], q=2-31, 124416 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   20 fps=0.0 q=-0.0 Lsize=       2kB time=00:00:00.88 bitrate=  16.3kbits/s speed=1.37x    
video:12150kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==1881== 
==1881== HEAP SUMMARY:
==1881==     in use at exit: 110,592 bytes in 28 blocks
==1881==   total heap usage: 3,044 allocs, 3,016 frees, 17,684,960 bytes allocated
==1881== 
==1881== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==1881==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==1881==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==1881==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1881==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1881==    by 0x5B11F5: build_table (bitstream.c:168)
==1881==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1881==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==1881==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==1881==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1881==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==1881==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==1881==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==1881==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==1881==    by 0x263BAD: main (ffmpeg.c:4787)
==1881== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==1881== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==1881==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==1881==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==1881==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1881==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1881==    by 0x5B11F5: build_table (bitstream.c:168)
==1881==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1881==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==1881==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==1881==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1881==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==1881==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==1881==    by 0x263C49: transcode (ffmpeg.c:4585)
==1881==    by 0x263C49: main (ffmpeg.c:4814)
==1881== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==1881== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==1881==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==1881==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1881==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1881==    by 0x5B11F5: build_table (bitstream.c:168)
==1881==    by 0x5B14D5: build_table (bitstream.c:223)
==1881==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1881==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==1881==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==1881==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1881==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==1881==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==1881==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==1881==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==1881==    by 0x263BAD: main (ffmpeg.c:4787)
==1881== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==1881== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==1881==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==1881==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1881==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1881==    by 0x5B11F5: build_table (bitstream.c:168)
==1881==    by 0x5B14D5: build_table (bitstream.c:223)
==1881==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1881==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==1881==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==1881==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1881==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==1881==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==1881==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==1881==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==1881==    by 0x263BAD: main (ffmpeg.c:4787)
==1881== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==1881== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==1881==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==1881==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1881==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1881==    by 0x5B11F5: build_table (bitstream.c:168)
==1881==    by 0x5B14D5: build_table (bitstream.c:223)
==1881==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1881==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==1881==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==1881==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1881==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==1881==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==1881==    by 0x263C49: transcode (ffmpeg.c:4585)
==1881==    by 0x263C49: main (ffmpeg.c:4814)
==1881== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==1881== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==1881==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==1881==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1881==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1881==    by 0x5B11F5: build_table (bitstream.c:168)
==1881==    by 0x5B14D5: build_table (bitstream.c:223)
==1881==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1881==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==1881==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==1881==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1881==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==1881==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==1881==    by 0x263C49: transcode (ffmpeg.c:4585)
==1881==    by 0x263C49: main (ffmpeg.c:4814)
==1881== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==1881== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==1881==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==1881==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1881==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1881==    by 0x5B11F5: build_table (bitstream.c:168)
==1881==    by 0x5B14D5: build_table (bitstream.c:223)
==1881==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1881==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==1881==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==1881==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1881==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==1881==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==1881==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==1881==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==1881==    by 0x263BAD: main (ffmpeg.c:4787)
==1881== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==1881== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==1881==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==1881==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1881==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1881==    by 0x5B11F5: build_table (bitstream.c:168)
==1881==    by 0x5B14D5: build_table (bitstream.c:223)
==1881==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1881==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==1881==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==1881==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1881==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==1881==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==1881==    by 0x263C49: transcode (ffmpeg.c:4585)
==1881==    by 0x263C49: main (ffmpeg.c:4814)
==1881== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==1881== LEAK SUMMARY:
==1881==    definitely lost: 110,592 bytes in 28 blocks
==1881==    indirectly lost: 0 bytes in 0 blocks
==1881==      possibly lost: 0 bytes in 0 blocks
==1881==    still reachable: 0 bytes in 0 blocks
==1881==         suppressed: 0 bytes in 0 blocks
==1881== 
==1881== For counts of detected and suppressed errors, rerun with: -v
==1881== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
diffstderrxvid-idct1N-101748-g797c2ecc8f
No diff output recorded
==1915== Memcheck, a memory error detector
==1915== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==1915== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==1915== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -flags +bitexact -cpuflags all -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/fate-suite/mpeg4/xvid_vlc_trac7411.h263 -bitexact -f framemd5 -
==1915== 
ffmpeg version N-90591-g4b736bc921 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.2.1 (GCC) 20171224
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, m4v, from '/home/fate/fate-suite/mpeg4/xvid_vlc_trac7411.h263':
  Duration: N/A, start: 1.000000, bitrate: N/A
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 720x576 [SAR 16:11 DAR 20:11], 25 tbr, 1200k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Output #0, framemd5, to 'pipe:':
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x576 [SAR 16:11 DAR 20:11], q=2-31, 124416 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc rawvideo
frame=   20 fps=0.0 q=-0.0 Lsize=       2kB time=00:00:00.88 bitrate=  16.3kbits/s speed=1.37x    
video:12150kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
==1915== 
==1915== HEAP SUMMARY:
==1915==     in use at exit: 110,592 bytes in 28 blocks
==1915==   total heap usage: 3,021 allocs, 2,993 frees, 17,684,514 bytes allocated
==1915== 
==1915== 2,048 bytes in 1 blocks are definitely lost in loss record 1 of 8
==1915==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==1915==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==1915==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1915==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1915==    by 0x5B11F5: build_table (bitstream.c:168)
==1915==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1915==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==1915==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==1915==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1915==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==1915==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==1915==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==1915==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==1915==    by 0x263BAD: main (ffmpeg.c:4787)
==1915== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==1915== 2,048 bytes in 1 blocks are definitely lost in loss record 2 of 8
==1915==    at 0x4C2CE0F: malloc (vg_replace_malloc.c:298)
==1915==    by 0x4C2F154: realloc (vg_replace_malloc.c:785)
==1915==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1915==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1915==    by 0x5B11F5: build_table (bitstream.c:168)
==1915==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1915==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==1915==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==1915==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1915==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==1915==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==1915==    by 0x263C49: transcode (ffmpeg.c:4585)
==1915==    by 0x263C49: main (ffmpeg.c:4814)
==1915== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:malloc
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==1915== 4,096 bytes in 1 blocks are definitely lost in loss record 3 of 8
==1915==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==1915==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1915==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1915==    by 0x5B11F5: build_table (bitstream.c:168)
==1915==    by 0x5B14D5: build_table (bitstream.c:223)
==1915==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1915==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==1915==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==1915==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1915==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==1915==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==1915==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==1915==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==1915==    by 0x263BAD: main (ffmpeg.c:4787)
==1915== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==1915== 4,096 bytes in 1 blocks are definitely lost in loss record 4 of 8
==1915==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==1915==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1915==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1915==    by 0x5B11F5: build_table (bitstream.c:168)
==1915==    by 0x5B14D5: build_table (bitstream.c:223)
==1915==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1915==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==1915==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==1915==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1915==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==1915==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==1915==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==1915==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==1915==    by 0x263BAD: main (ffmpeg.c:4787)
==1915== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==1915== 4,096 bytes in 1 blocks are definitely lost in loss record 5 of 8
==1915==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==1915==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1915==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1915==    by 0x5B11F5: build_table (bitstream.c:168)
==1915==    by 0x5B14D5: build_table (bitstream.c:223)
==1915==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1915==    by 0x21609E: init_studio_vlcs (mpeg4videodec.c:3332)
==1915==    by 0x21609E: decode_init (mpeg4videodec.c:3364)
==1915==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1915==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==1915==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==1915==    by 0x263C49: transcode (ffmpeg.c:4585)
==1915==    by 0x263C49: main (ffmpeg.c:4814)
==1915== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==1915== 4,096 bytes in 1 blocks are definitely lost in loss record 6 of 8
==1915==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==1915==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1915==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1915==    by 0x5B11F5: build_table (bitstream.c:168)
==1915==    by 0x5B14D5: build_table (bitstream.c:223)
==1915==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1915==    by 0x2160E8: init_studio_vlcs (mpeg4videodec.c:3339)
==1915==    by 0x2160E8: decode_init (mpeg4videodec.c:3364)
==1915==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1915==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==1915==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==1915==    by 0x263C49: transcode (ffmpeg.c:4585)
==1915==    by 0x263C49: main (ffmpeg.c:4814)
==1915== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==1915== 45,056 bytes in 11 blocks are definitely lost in loss record 7 of 8
==1915==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==1915==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1915==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1915==    by 0x5B11F5: build_table (bitstream.c:168)
==1915==    by 0x5B14D5: build_table (bitstream.c:223)
==1915==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1915==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==1915==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==1915==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1915==    by 0x5458E9: avformat_find_stream_info (utils.c:3628)
==1915==    by 0x26C359: open_input_file (ffmpeg_opt.c:1091)
==1915==    by 0x26DD91: open_files (ffmpeg_opt.c:3203)
==1915==    by 0x26DD91: ffmpeg_parse_options (ffmpeg_opt.c:3243)
==1915==    by 0x263BAD: main (ffmpeg.c:4787)
==1915== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:avformat_find_stream_info
   fun:open_input_file
   fun:open_files
   fun:ffmpeg_parse_options
   fun:main
}
==1915== 45,056 bytes in 11 blocks are definitely lost in loss record 8 of 8
==1915==    at 0x4C2F0FF: realloc (vg_replace_malloc.c:785)
==1915==    by 0xEDE21E: av_realloc_f (mem.c:157)
==1915==    by 0x5B11F5: alloc_table (bitstream.c:119)
==1915==    by 0x5B11F5: build_table (bitstream.c:168)
==1915==    by 0x5B14D5: build_table (bitstream.c:223)
==1915==    by 0x5B242E: ff_init_vlc_sparse (bitstream.c:335)
==1915==    by 0x216043: init_studio_vlcs (mpeg4videodec.c:3323)
==1915==    by 0x216043: decode_init (mpeg4videodec.c:3364)
==1915==    by 0x8FE373: avcodec_open2 (utils.c:920)
==1915==    by 0x287CA3: init_input_stream (ffmpeg.c:2920)
==1915==    by 0x287CA3: transcode_init (ffmpeg.c:3647)
==1915==    by 0x263C49: transcode (ffmpeg.c:4585)
==1915==    by 0x263C49: main (ffmpeg.c:4814)
==1915== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:realloc
   fun:av_realloc_f
   fun:alloc_table
   fun:build_table
   fun:build_table
   fun:ff_init_vlc_sparse
   fun:init_studio_vlcs
   fun:decode_init
   fun:avcodec_open2
   fun:init_input_stream
   fun:transcode_init
   fun:transcode
   fun:main
}
==1915== LEAK SUMMARY:
==1915==    definitely lost: 110,592 bytes in 28 blocks
==1915==    indirectly lost: 0 bytes in 0 blocks
==1915==      possibly lost: 0 bytes in 0 blocks
==1915==    still reachable: 0 bytes in 0 blocks
==1915==         suppressed: 0 bytes in 0 blocks
==1915== 
==1915== For counts of detected and suppressed errors, rerun with: -v
==1915== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)