[FFmpeg-devel] [PATCH] avfilter: port pullup filter from libmpcodecs

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Sep 17 11:00:39 CEST 2013


On Tuesday 17 September 2013 10:44:08 am Paul B Mahol wrote:
> On 9/16/13, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> > Paul B Mahol <onemda <at> gmail.com> writes:
> >
> > [...]
> >
> > valgrind still reports a (much smaller) memleak
> > and invalid reads.

One more thing:
I believe it would be useful if the filter sets the reduced framerate (or 
timebase?) on initialization, this would make users' lives easier.

> It would be extremly helpful if you provide valgrind report.

Attached.

Carl Eugen
-------------- next part --------------
==11308== Memcheck, a memory error detector
==11308== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==11308== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==11308== Command: ./ffmpeg_g -f lavfi -i testsrc -vf telecine,pullup -vframes 2 -f null -
==11308== 
ffmpeg version N-56332-g7dea2ea Copyright (c) 2000-2013 the FFmpeg developers
  built on Sep 17 2013 10:54:52 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-optimizations --disable-asm
  libavutil      52. 43.100 / 52. 43.100
  libavcodec     55. 31.101 / 55. 31.101
  libavformat    55. 16.103 / 55. 16.103
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 85.100 /  3. 85.100
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Input #0, lavfi, from 'testsrc':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
[Parsed_telecine_0 @ 0x7358f70] Telecine pattern 23 yields up to 2 frames per frame, pts advance factor: 4/5
==11308== Invalid read of size 8
==11308==    at 0x68DB59F: __GI___strncasecmp_l (in /lib64/libc-2.15.so)
==11308==    by 0x688F8A5: ____strtod_l_internal (in /lib64/libc-2.15.so)
==11308==    by 0xD56B2B: av_strtod (eval.c:97)
==11308==    by 0xD586EC: parse_primary (eval.c:323)
==11308==    by 0xD593D7: parse_pow (eval.c:482)
==11308==    by 0xD59481: parse_dB (eval.c:497)
==11308==    by 0xD594AA: parse_factor (eval.c:504)
==11308==    by 0xD59604: parse_term (eval.c:531)
==11308==    by 0xD5971C: parse_subexpr (eval.c:555)
==11308==    by 0xD59834: parse_expr (eval.c:583)
==11308==    by 0xD59C26: av_expr_parse (eval.c:672)
==11308==    by 0xD59DD8: av_expr_parse_and_eval (eval.c:709)
==11308==  Address 0x75a8520 is 0 bytes inside a block of size 3 alloc'd
==11308==    at 0x4C290FE: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0x4C291A7: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0xD61EDD: av_malloc (mem.c:93)
==11308==    by 0xD59B29: av_expr_parse (eval.c:649)
==11308==    by 0xD59DD8: av_expr_parse_and_eval (eval.c:709)
==11308==    by 0x487C4D: config_props (vf_scale.c:247)
==11308==    by 0x433EDA: avfilter_config_links (avfilter.c:255)
==11308==    by 0x433E6E: avfilter_config_links (avfilter.c:244)
==11308==    by 0x436D33: graph_config_links (avfiltergraph.c:272)
==11308==    by 0x439586: avfilter_graph_config (avfiltergraph.c:1175)
==11308==    by 0x4132C0: configure_filtergraph (ffmpeg_filter.c:889)
==11308==    by 0x41BD9F: transcode_init (ffmpeg.c:2303)
==11308== 
==11308== Invalid read of size 8
==11308==    at 0x68DB5A7: __GI___strncasecmp_l (in /lib64/libc-2.15.so)
==11308==    by 0x688F8A5: ____strtod_l_internal (in /lib64/libc-2.15.so)
==11308==    by 0xD56B2B: av_strtod (eval.c:97)
==11308==    by 0xD586EC: parse_primary (eval.c:323)
==11308==    by 0xD593D7: parse_pow (eval.c:482)
==11308==    by 0xD59481: parse_dB (eval.c:497)
==11308==    by 0xD594AA: parse_factor (eval.c:504)
==11308==    by 0xD59604: parse_term (eval.c:531)
==11308==    by 0xD5971C: parse_subexpr (eval.c:555)
==11308==    by 0xD59834: parse_expr (eval.c:583)
==11308==    by 0xD59C26: av_expr_parse (eval.c:672)
==11308==    by 0xD59DD8: av_expr_parse_and_eval (eval.c:709)
==11308==  Address 0x75a8528 is 5 bytes after a block of size 3 alloc'd
==11308==    at 0x4C290FE: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0x4C291A7: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0xD61EDD: av_malloc (mem.c:93)
==11308==    by 0xD59B29: av_expr_parse (eval.c:649)
==11308==    by 0xD59DD8: av_expr_parse_and_eval (eval.c:709)
==11308==    by 0x487C4D: config_props (vf_scale.c:247)
==11308==    by 0x433EDA: avfilter_config_links (avfilter.c:255)
==11308==    by 0x433E6E: avfilter_config_links (avfilter.c:244)
==11308==    by 0x436D33: graph_config_links (avfiltergraph.c:272)
==11308==    by 0x439586: avfilter_graph_config (avfiltergraph.c:1175)
==11308==    by 0x4132C0: configure_filtergraph (ffmpeg_filter.c:889)
==11308==    by 0x41BD9F: transcode_init (ffmpeg.c:2303)
==11308== 
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf55.16.103
    Stream #0:0: Video: rawvideo (444P / 0x50343434), yuv444p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 31.25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> rawvideo)
Press [q] to stop, [?] for help
==11308== Source and destination overlap in memcpy(0x75acd7c, 0x75acd7c, 16)
==11308==    at 0x4C2C400: memcpy@@GLIBC_2.14 (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0xC95189: sws_setColorspaceDetails (utils.c:964)
==11308==    by 0x488BDC: filter_frame (vf_scale.c:477)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x48EFFB: filter_frame (vf_telecine.c:240)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x43C7EB: request_frame (buffersrc.c:491)
==11308==    by 0x43BBBD: av_buffersrc_add_frame_internal (buffersrc.c:170)
==11308==    by 0x43B8E1: av_buffersrc_add_frame_flags (buffersrc.c:107)
==11308==    by 0x419A08: decode_video (ffmpeg.c:1744)
==11308== 
==11308== Invalid read of size 1
==11308==    at 0x482398: comb_c (vf_pullup.c:93)
==11308==    by 0x4838A2: compute_metric (vf_pullup.c:521)
==11308==    by 0x483AA8: pullup_submit_field (vf_pullup.c:565)
==11308==    by 0x483E75: filter_frame (vf_pullup.c:642)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x488E19: filter_frame (vf_scale.c:503)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x48EFFB: filter_frame (vf_telecine.c:240)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==  Address 0x10644c48 is 8 bytes after a block of size 76,800 alloc'd
==11308==    at 0x4C290FE: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0x4C291A7: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0xD61EDD: av_malloc (mem.c:93)
==11308==    by 0x482A6A: alloc_buffer (vf_pullup.c:222)
==11308==    by 0x482BA4: pullup_get_buffer (vf_pullup.c:245)
==11308==    by 0x483DA5: filter_frame (vf_pullup.c:628)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x488E19: filter_frame (vf_scale.c:503)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x48EFFB: filter_frame (vf_telecine.c:240)
==11308== 
==11308== Invalid read of size 1
==11308==    at 0x4823DD: comb_c (vf_pullup.c:93)
==11308==    by 0x4838A2: compute_metric (vf_pullup.c:521)
==11308==    by 0x483AA8: pullup_submit_field (vf_pullup.c:565)
==11308==    by 0x483E75: filter_frame (vf_pullup.c:642)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x488E19: filter_frame (vf_scale.c:503)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x48EFFB: filter_frame (vf_telecine.c:240)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==  Address 0x10644c48 is 8 bytes after a block of size 76,800 alloc'd
==11308==    at 0x4C290FE: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0x4C291A7: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0xD61EDD: av_malloc (mem.c:93)
==11308==    by 0x482A6A: alloc_buffer (vf_pullup.c:222)
==11308==    by 0x482BA4: pullup_get_buffer (vf_pullup.c:245)
==11308==    by 0x483DA5: filter_frame (vf_pullup.c:628)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x488E19: filter_frame (vf_scale.c:503)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x48EFFB: filter_frame (vf_telecine.c:240)
==11308== 
==11308== Invalid read of size 1
==11308==    at 0x48242B: comb_c (vf_pullup.c:93)
==11308==    by 0x4838A2: compute_metric (vf_pullup.c:521)
==11308==    by 0x483AA8: pullup_submit_field (vf_pullup.c:565)
==11308==    by 0x483E75: filter_frame (vf_pullup.c:642)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x488E19: filter_frame (vf_scale.c:503)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x48EFFB: filter_frame (vf_telecine.c:240)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==  Address 0x10644c48 is 8 bytes after a block of size 76,800 alloc'd
==11308==    at 0x4C290FE: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0x4C291A7: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0xD61EDD: av_malloc (mem.c:93)
==11308==    by 0x482A6A: alloc_buffer (vf_pullup.c:222)
==11308==    by 0x482BA4: pullup_get_buffer (vf_pullup.c:245)
==11308==    by 0x483DA5: filter_frame (vf_pullup.c:628)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x488E19: filter_frame (vf_scale.c:503)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x48EFFB: filter_frame (vf_telecine.c:240)
==11308== 
==11308== Invalid read of size 1
==11308==    at 0x482398: comb_c (vf_pullup.c:93)
==11308==    by 0x4838A2: compute_metric (vf_pullup.c:521)
==11308==    by 0x483AA8: pullup_submit_field (vf_pullup.c:565)
==11308==    by 0x483E5A: filter_frame (vf_pullup.c:641)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x488E19: filter_frame (vf_scale.c:503)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x48EFFB: filter_frame (vf_telecine.c:240)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==  Address 0x1072d698 is 8 bytes after a block of size 76,800 alloc'd
==11308==    at 0x4C290FE: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0x4C291A7: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0xD61EDD: av_malloc (mem.c:93)
==11308==    by 0x482A6A: alloc_buffer (vf_pullup.c:222)
==11308==    by 0x482BA4: pullup_get_buffer (vf_pullup.c:245)
==11308==    by 0x483DA5: filter_frame (vf_pullup.c:628)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x488E19: filter_frame (vf_scale.c:503)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x48EFFB: filter_frame (vf_telecine.c:240)
==11308== 
==11308== Invalid read of size 1
==11308==    at 0x4823DD: comb_c (vf_pullup.c:93)
==11308==    by 0x4838A2: compute_metric (vf_pullup.c:521)
==11308==    by 0x483AA8: pullup_submit_field (vf_pullup.c:565)
==11308==    by 0x483E5A: filter_frame (vf_pullup.c:641)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x488E19: filter_frame (vf_scale.c:503)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x48EFFB: filter_frame (vf_telecine.c:240)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==  Address 0x1072d698 is 8 bytes after a block of size 76,800 alloc'd
==11308==    at 0x4C290FE: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0x4C291A7: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0xD61EDD: av_malloc (mem.c:93)
==11308==    by 0x482A6A: alloc_buffer (vf_pullup.c:222)
==11308==    by 0x482BA4: pullup_get_buffer (vf_pullup.c:245)
==11308==    by 0x483DA5: filter_frame (vf_pullup.c:628)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x488E19: filter_frame (vf_scale.c:503)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x48EFFB: filter_frame (vf_telecine.c:240)
==11308== 
==11308== Invalid read of size 1
==11308==    at 0x48242B: comb_c (vf_pullup.c:93)
==11308==    by 0x4838A2: compute_metric (vf_pullup.c:521)
==11308==    by 0x483AA8: pullup_submit_field (vf_pullup.c:565)
==11308==    by 0x483E5A: filter_frame (vf_pullup.c:641)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x488E19: filter_frame (vf_scale.c:503)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x48EFFB: filter_frame (vf_telecine.c:240)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==  Address 0x1072d698 is 8 bytes after a block of size 76,800 alloc'd
==11308==    at 0x4C290FE: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0x4C291A7: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0xD61EDD: av_malloc (mem.c:93)
==11308==    by 0x482A6A: alloc_buffer (vf_pullup.c:222)
==11308==    by 0x482BA4: pullup_get_buffer (vf_pullup.c:245)
==11308==    by 0x483DA5: filter_frame (vf_pullup.c:628)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x488E19: filter_frame (vf_scale.c:503)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x48EFFB: filter_frame (vf_telecine.c:240)
==11308== 
[null @ 0x7356a00] Encoder did not produce proper pts, making some up.
frame=    2 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.06 bitrate=N/A dup=1 drop=0    
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead -111.458333%
==11308== Invalid read of size 8
==11308==    at 0xD620C6: av_freep (mem.c:217)
==11308==    by 0x4840DA: uninit (vf_pullup.c:708)
==11308==    by 0x43512E: avfilter_free (avfilter.c:705)
==11308==    by 0x436794: avfilter_graph_free (avfiltergraph.c:114)
==11308==    by 0x413F00: ffmpeg_cleanup (ffmpeg.c:434)
==11308==    by 0x420029: exit_program (cmdutils.c:124)
==11308==    by 0x41FDBD: main (ffmpeg.c:3426)
==11308==  Address 0x75cec98 is 56 bytes inside a block of size 72 free'd
==11308==    at 0x4C29D4E: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0xD620AB: av_free (mem.c:210)
==11308==    by 0xD620D0: av_freep (mem.c:217)
==11308==    by 0x4840DA: uninit (vf_pullup.c:708)
==11308==    by 0x43512E: avfilter_free (avfilter.c:705)
==11308==    by 0x436794: avfilter_graph_free (avfiltergraph.c:114)
==11308==    by 0x413F00: ffmpeg_cleanup (ffmpeg.c:434)
==11308==    by 0x420029: exit_program (cmdutils.c:124)
==11308==    by 0x41FDBD: main (ffmpeg.c:3426)
==11308== 
==11308== Invalid write of size 8
==11308==    at 0xD620D5: av_freep (mem.c:218)
==11308==    by 0x4840DA: uninit (vf_pullup.c:708)
==11308==    by 0x43512E: avfilter_free (avfilter.c:705)
==11308==    by 0x436794: avfilter_graph_free (avfiltergraph.c:114)
==11308==    by 0x413F00: ffmpeg_cleanup (ffmpeg.c:434)
==11308==    by 0x420029: exit_program (cmdutils.c:124)
==11308==    by 0x41FDBD: main (ffmpeg.c:3426)
==11308==  Address 0x75cec98 is 56 bytes inside a block of size 72 free'd
==11308==    at 0x4C29D4E: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0xD620AB: av_free (mem.c:210)
==11308==    by 0xD620D0: av_freep (mem.c:217)
==11308==    by 0x4840DA: uninit (vf_pullup.c:708)
==11308==    by 0x43512E: avfilter_free (avfilter.c:705)
==11308==    by 0x436794: avfilter_graph_free (avfiltergraph.c:114)
==11308==    by 0x413F00: ffmpeg_cleanup (ffmpeg.c:434)
==11308==    by 0x420029: exit_program (cmdutils.c:124)
==11308==    by 0x41FDBD: main (ffmpeg.c:3426)
==11308== 
==11308== 
==11308== HEAP SUMMARY:
==11308==     in use at exit: 493,248 bytes in 20 blocks
==11308==   total heap usage: 4,015 allocs, 3,995 frees, 6,269,782 bytes allocated
==11308== 
==11308== 493,248 (1,248 direct, 492,000 indirect) bytes in 2 blocks are definitely lost in loss record 4 of 4
==11308==    at 0x4C290FE: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0x4C291A7: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==11308==    by 0xD61EDD: av_malloc (mem.c:93)
==11308==    by 0xD620F5: av_mallocz (mem.c:223)
==11308==    by 0xD5B1C2: av_frame_alloc (frame.c:96)
==11308==    by 0x498699: ff_default_get_video_buffer (video.c:45)
==11308==    by 0x498971: ff_get_video_buffer (video.c:120)
==11308==    by 0x4889DC: filter_frame (vf_scale.c:438)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308==    by 0x4365D1: ff_filter_frame (avfilter.c:1144)
==11308==    by 0x48EFFB: filter_frame (vf_telecine.c:240)
==11308==    by 0x4362B3: ff_filter_frame_framed (avfilter.c:1070)
==11308== 
==11308== LEAK SUMMARY:
==11308==    definitely lost: 1,248 bytes in 2 blocks
==11308==    indirectly lost: 492,000 bytes in 18 blocks
==11308==      possibly lost: 0 bytes in 0 blocks
==11308==    still reachable: 0 bytes in 0 blocks
==11308==         suppressed: 0 bytes in 0 blocks
==11308== 
==11308== For counts of detected and suppressed errors, rerun with: -v
==11308== ERROR SUMMARY: 852 errors from 12 contexts (suppressed: 2 from 2)


More information about the ffmpeg-devel mailing list