]> git.sesse.net Git - ffmpeg/commit
lavfi/showwaves: do not set on outlink->out_buf the sent video frame
authorStefano Sabatini <stefasab@gmail.com>
Mon, 23 Jul 2012 12:57:15 +0000 (14:57 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Mon, 23 Jul 2012 13:10:19 +0000 (15:10 +0200)
commit7afd42d9f26be1e95f15cbcfa0e09308a6591036
treeb15fcea50364a8b9e679b55c71779ed4a4450844
parentcc12a94c364fca9c371c3e5da7a462655c7e1f2d
lavfi/showwaves: do not set on outlink->out_buf the sent video frame

The video frame reference is passed along the filterchain, and is not
possessed anymore by the filter. If out_buf is not set to NULL, it will
be freed by ff_end_frame() causing a crash.
libavfilter/avf_showwaves.c