valgrind ./doc/examples/scaling_video_g ==700== Memcheck, a memory error detector ==700== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==700== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==700== Command: ./doc/examples/scaling_video_g ==700== ==700== ==700== Process terminating with default action of signal 11 (SIGSEGV) ==700== General Protection Fault ==700== at 0x17EDE2: ??? (in /home/tmtu/Downloads/FFmpeg-n4.3.1/doc/examples/scaling_video_g) ==700== by 0x4BF4EFF: ??? ==700== by 0x4C03EFF: ??? ==700== ==700== HEAP SUMMARY: ==700== in use at exit: 1,127,619 bytes in 17 blocks ==700== total heap usage: 29 allocs, 12 frees, 1,209,859 bytes allocated ==700== ==700== LEAK SUMMARY: ==700== definitely lost: 0 bytes in 0 blocks ==700== indirectly lost: 0 bytes in 0 blocks ==700== possibly lost: 0 bytes in 0 blocks ==700== still reachable: 1,127,619 bytes in 17 blocks ==700== suppressed: 0 bytes in 0 blocks ==700== Rerun with --leak-check=full to see details of leaked memory ==700== ==700== For lists of detected and suppressed errors, rerun with: -s ==700== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)