On Sat, Dec 16, 2017 at 11:12:27AM +0100, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol <one...@gmail.com> > --- > fftools/ffmpeg.c | 2 ++ > fftools/ffmpeg.h | 1 + > fftools/ffmpeg_filter.c | 57 +++++++++++++++++++++++++++++++--- > fftools/ffmpeg_opt.c | 2 ++ > libavcodec/utils.c | 11 +++++++ > libavfilter/avfilter.c | 9 ++++-- > libavfilter/avfilter.h | 4 ++- > libavfilter/avfiltergraph.c | 53 ++++++++++++++++++++++++++++++++ > libavfilter/buffersink.c | 16 ++++++++++ > libavfilter/buffersink.h | 1 + > libavfilter/buffersrc.c | 4 +++ > libavfilter/formats.c | 75 > ++++++++++++++++++++++++++++++++++++++++++--- > libavfilter/formats.h | 31 +++++++++++++++++++ > libavfilter/internal.h | 11 +++++++ > libavfilter/vf_format.c | 46 ++++++++++++++++++++++++++- > libavfilter/vf_noise.c | 6 +++- > libavfilter/vf_scale.c | 17 ++++++++-- > libavfilter/vsrc_testsrc.c | 15 +++++++-- > tests/fate/filter-video.mak | 2 +- > tests/fate/pixlet.mak | 2 +- > 20 files changed, 343 insertions(+), 22 deletions(-)
This causes a segfault ./ffmpeg -f lavfi -i "amovie=fate-suite/wavpack/num_channels/eva_2.22_6.1_16bit-partial.wv,asplit=3[out1][a][b]; [a]showwaves=s=340x240,pad=iw:ih*2[waves]; [b]showspectrum=s=340x240[spectrum]; [waves][spectrum] overlay=0:h [out0]" -t 0.1 -qscale 2 waves.avi Program received signal SIGSEGV, Segmentation fault. 0x0000000000476a7f in query_formats (graph=0x21d1f80, log_ctx=0x21d10e0) at libavfilter/avfiltergraph.c:607 607 av_assert0( inlink-> in_color_ranges->refcount > 0); (gdb) bt #0 0x0000000000476a7f in query_formats (graph=0x21d1f80, log_ctx=0x21d10e0) at libavfilter/avfiltergraph.c:607 #1 0x00000000004789ce in graph_config_formats (graph=0x21d1f80, log_ctx=0x21d10e0) at libavfilter/avfiltergraph.c:1216 #2 0x0000000000478ea0 in avfilter_graph_config (graphctx=0x21d1f80, log_ctx=0x21d10e0) at libavfilter/avfiltergraph.c:1327 #3 0x00000000004418ad in lavfi_read_header (avctx=0x21d10e0) at libavdevice/lavfi.c:302 #4 0x00000000007c1acd in avformat_open_input (ps=0x7fffffffdbc0, filename=0x7fffffffe5d4 "amovie=fate-suite/wavpack/num_channels/eva_2.22_6.1_16bit-partial.wv,asplit=3[out1][a][b]; [a]showwaves=s=340x240,pad=iw:ih*2[waves]; [b]showspectrum=s=340x240[spectrum]"..., fmt=0x192be40 <ff_lavfi_demuxer>, options=0x21d0dc8) at libavformat/utils.c:600 #5 0x000000000041524f in open_input_file (o=0x7fffffffdcc0, filename=0x7fffffffe5d4 "amovie=fate-suite/wavpack/num_channels/eva_2.22_6.1_16bit-partial.wv,asplit=3[out1][a][b]; [a]showwaves=s=340x240,pad=iw:ih*2[waves]; [b]showspectrum=s=340x240[spectrum]"...) at fftools/ffmpeg_opt.c:1070 #6 0x000000000041efb8 in open_files (l=0x21d0d78, inout=0x12004b7 "input", open_file=0x414903 <open_input_file>) at fftools/ffmpeg_opt.c:3299 #7 0x000000000041f14a in ffmpeg_parse_options (argc=10, argv=0x7fffffffe2d8) at fftools/ffmpeg_opt.c:3339 #8 0x000000000043d5fd in main (argc=10, argv=0x7fffffffe2d8) at fftools/ffmpeg.c:4818 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB In fact, the RIAA has been known to suggest that students drop out of college or go to community college in order to be able to afford settlements. -- The RIAA
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel