Muhammad Faiz
fc3a03fcf9
avfilter: take_samples: do not directly return frame when samples are skipped
...
Modifying data pointer when skipping samples may make it unaligned.
Workaround for Ticket6349.
This should fix the crash of ticket's testcase and a crash/regression
with avxsynth (reported by Michael Niedermayer).
Also change frame->nb_samples < max to frame->nb_samples <= max.
This improves performance. Benchmark:
./ffmpeg -filter_complex "aevalsrc=0:n=1166,firequalizer=fixed=on" -f null null
old:
25767 decicycles in take_samples, 1023 runs, 1 skips
25422 decicycles in take_samples, 2047 runs, 1 skips
25181 decicycles in take_samples, 4095 runs, 1 skips
24904 decicycles in take_samples, 8191 runs, 1 skips
new:
550 decicycles in take_samples, 1024 runs, 0 skips
548 decicycles in take_samples, 2048 runs, 0 skips
545 decicycles in take_samples, 4096 runs, 0 skips
544 decicycles in take_samples, 8192 runs, 0 skips
Reviewed-by: Nicolas George <george@nsup.org>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2017-05-20 23:19:46 +07:00
..
2017-01-24 23:51:36 +01:00
2017-05-09 20:47:52 +02:00
2017-05-13 11:39:28 +02:00
2017-05-12 10:48:13 +02:00
2016-08-25 18:36:59 +02:00
2016-08-11 21:46:06 +02:00
2017-03-30 23:35:18 +02:00
2015-12-23 09:22:59 -08:00
2017-05-17 22:59:11 +02:00
2016-03-04 22:20:12 +01:00
2017-05-10 20:10:02 +02:00
2017-05-09 23:08:00 -03:00
2016-02-07 22:47:39 +01:00
2016-02-08 22:51:32 +01:00
2015-12-06 19:10:39 +01:00
2017-05-13 11:39:28 +02:00
2017-04-10 12:04:14 +02:00
2016-03-22 10:15:31 -07:00
2016-12-10 11:57:11 +01:00
2017-05-13 11:39:28 +02:00
2017-04-23 14:40:30 +07:00
2016-12-01 09:53:38 +01:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-04-23 14:40:30 +07:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-04-25 18:08:26 +02:00
2017-05-16 19:16:50 +02:00
2017-04-23 14:40:30 +07:00
2017-04-23 14:40:30 +07:00
2017-03-30 23:35:18 +02:00
2017-05-15 14:29:18 +02:00
2016-01-05 19:07:19 -08:00
2017-05-17 20:18:39 +02:00
2017-04-30 13:00:01 +02:00
2015-09-12 01:43:06 +00:00
2017-04-23 14:40:30 +07:00
2017-05-13 11:39:28 +02:00
2015-10-14 10:04:01 -04:00
2017-05-13 11:39:28 +02:00
2015-12-02 18:31:56 -05:00
2017-05-13 11:39:28 +02:00
2017-04-23 14:40:30 +07:00
2016-01-22 21:41:11 +01:00
2017-04-05 11:43:12 -05:00
2017-04-23 14:40:30 +07:00
2015-10-14 10:04:01 -04:00
2016-02-18 15:35:30 +01:00
2015-10-02 10:37:44 +02:00
2017-05-20 12:43:11 +02:00
2015-04-08 13:05:06 +00:00
2017-05-15 14:29:18 +02:00
2017-05-18 23:13:52 +02:00
2017-05-15 19:58:15 +02:00
2016-07-30 21:53:25 +02:00
2015-10-29 18:16:09 +01:00
2015-10-26 20:56:17 +01:00
2017-04-23 14:40:30 +07:00
2016-01-31 15:44:11 -08:00
2017-05-13 11:39:28 +02:00
2017-05-17 20:18:39 +02:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-01-12 10:22:52 +01:00
2015-08-08 21:58:48 +02:00
2017-03-30 10:29:14 -08:00
2016-06-09 10:35:13 +02:00
2017-04-23 14:40:30 +07:00
2017-04-22 20:08:45 +02:00
2017-05-13 11:39:28 +02:00
2017-04-23 14:40:30 +07:00
2017-05-13 11:39:28 +02:00
2016-11-13 10:41:16 +01:00
2017-05-13 11:39:28 +02:00
2016-08-21 16:49:18 +02:00
2017-05-13 11:39:28 +02:00
2017-05-20 23:19:46 +07:00
2017-03-30 00:02:08 +02:00
2017-05-07 19:37:34 +02:00
2017-05-13 11:39:28 +02:00
2016-05-23 21:49:15 +02:00
2017-01-12 15:07:18 +01:00
2017-05-13 11:39:28 +02:00
2017-04-23 14:40:30 +07:00
2016-10-23 20:19:28 +02:00
2016-03-13 10:06:21 +01:00
2016-05-10 08:37:55 -04:00
2016-05-10 08:37:55 -04:00
2016-05-10 08:37:56 -04:00
2016-05-10 08:37:56 -04:00
2017-03-30 22:46:31 +02:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2016-09-21 11:54:00 +02:00
2016-09-21 11:54:00 +02:00
2016-06-26 01:01:28 +02:00
2017-05-13 11:39:28 +02:00
2017-02-04 23:54:18 +01:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-04-23 14:40:30 +07:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-04-23 14:40:30 +07:00
2017-04-23 14:40:30 +07:00
2017-05-13 11:39:28 +02:00
2015-11-25 22:22:17 +01:00
2015-09-20 19:02:33 +02:00
2017-04-23 14:40:30 +07:00
2017-05-13 11:39:28 +02:00
2016-12-10 11:57:11 +01:00
2016-11-13 10:41:16 +01:00
2017-05-13 11:39:28 +02:00
2017-04-23 14:40:30 +07:00
2017-01-12 14:06:16 +01:00
2017-01-24 23:51:36 +01:00
2016-12-10 11:57:11 +01:00
2017-04-23 14:40:30 +07:00
2017-01-12 10:22:52 +01:00
2017-05-20 23:19:46 +07:00
2017-05-20 23:19:46 +07:00
2016-12-24 13:18:02 +01:00
2015-08-26 11:12:23 +00:00
2015-09-24 17:26:27 +02:00
2015-02-06 19:07:29 +01:00
2015-08-08 21:59:21 +02:00
2017-05-19 20:21:47 +07:00
2016-01-28 19:49:48 -08:00
2017-05-02 14:09:50 -03:00
2017-03-30 00:02:08 +02:00
2017-04-29 01:23:25 +07:00
2016-05-29 16:43:11 +02:00
2014-08-13 01:00:38 +02:00
2017-05-17 20:18:39 +02:00
2017-04-23 18:31:05 +02:00
2016-08-26 23:09:17 +02:00
2016-08-26 11:17:51 +02:00
2016-01-31 15:44:11 -08:00
2016-01-31 15:44:11 -08:00
2017-03-28 23:47:24 +02:00
2016-01-28 19:49:48 -08:00
2017-02-02 22:58:54 +00:00
2017-02-02 22:58:54 +00:00
2017-04-23 14:40:30 +07:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2016-12-18 10:38:52 +01:00
2017-04-23 14:40:30 +07:00
2016-01-31 15:44:11 -08:00
2016-01-31 15:44:11 -08:00
2016-02-24 17:31:44 +00:00
2017-05-13 11:39:28 +02:00
2015-01-05 01:45:49 +01:00
2016-12-10 11:57:11 +01:00
2015-02-11 13:51:58 +01:00
2016-01-27 16:36:46 +00:00
2017-05-13 11:39:28 +02:00
2016-08-16 16:01:35 +02:00
2017-05-17 20:18:39 +02:00
2017-05-13 11:39:28 +02:00
2015-08-18 22:22:49 -04:00
2017-04-10 18:13:02 +02:00
2017-04-10 18:13:02 +02:00
2017-05-13 11:39:28 +02:00
2016-11-29 16:32:33 +01:00
2017-05-13 11:39:28 +02:00
2017-04-23 14:40:30 +07:00
2017-04-10 16:53:17 +02:00
2016-01-27 16:36:46 +00:00
2016-08-29 16:27:09 +02:00
2016-08-29 16:27:09 +02:00
2017-02-03 21:52:22 +01:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2016-08-29 16:27:09 +02:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2016-11-28 11:24:09 -05:00
2016-09-12 14:38:45 +02:00
2016-02-27 21:35:20 +01:00
2016-06-09 10:35:13 +02:00
2016-01-27 16:36:46 +00:00
2017-04-23 14:40:30 +07:00
2017-04-23 14:40:30 +07:00
2017-05-13 11:39:28 +02:00
2017-04-29 19:12:34 +02:00
2017-04-10 10:12:23 +02:00
2016-12-23 18:53:20 +01:00
2017-05-13 11:39:28 +02:00
2017-05-15 21:32:44 +02:00
2017-03-30 03:12:05 +02:00
2017-04-23 14:40:30 +07:00
2017-05-13 11:39:28 +02:00
2016-05-10 18:18:47 +02:00
2017-02-03 21:52:22 +01:00
2017-05-13 11:39:28 +02:00
2016-01-27 16:36:46 +00:00
2016-02-17 09:42:46 +01:00
2017-04-23 14:40:30 +07:00
2017-05-13 11:39:28 +02:00
2016-02-16 09:16:32 +01:00
2017-04-23 14:40:30 +07:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2016-11-13 10:41:16 +01:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-02-03 21:52:22 +01:00
2017-05-13 11:39:28 +02:00
2015-10-14 10:04:01 -04:00
2015-11-25 22:22:17 +01:00
2016-04-21 20:20:42 +02:00
2016-05-09 15:01:07 +02:00
2016-01-27 16:46:58 +00:00
2017-04-12 20:21:11 +02:00
2016-11-13 10:41:16 +01:00
2016-06-21 22:00:12 +02:00
2016-01-27 16:36:46 +00:00
2015-11-22 16:16:16 -05:00
2017-04-10 18:13:02 +02:00
2017-05-13 11:39:28 +02:00
2016-06-21 21:55:34 +02:00
2016-08-29 16:27:09 +02:00
2017-05-13 11:39:28 +02:00
2017-05-09 16:17:49 +02:00
2016-06-21 21:55:34 +02:00
2016-01-31 15:44:11 -08:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-03-30 00:02:08 +02:00
2017-03-30 10:51:32 +02:00
2017-03-30 00:02:08 +02:00
2017-03-30 00:02:08 +02:00
2017-04-10 18:13:02 +02:00
2017-04-23 14:40:30 +07:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-05-02 14:09:50 -03:00
2017-05-13 11:39:28 +02:00
2016-08-29 16:27:09 +02:00
2017-01-11 09:59:55 +08:00
2017-04-24 20:37:30 +02:00
2016-09-16 12:35:55 +02:00
2017-03-13 15:30:05 +01:00
2017-02-13 22:54:21 +01:00
2017-04-23 18:21:50 +02:00
2017-04-23 18:31:05 +02:00
2017-05-13 11:39:28 +02:00
2016-11-01 12:28:36 +01:00
2016-08-26 11:17:51 +02:00
2017-04-09 16:30:38 +02:00
2017-03-30 22:46:31 +02:00
2017-05-13 11:39:28 +02:00
2016-01-27 16:36:46 +00:00
2017-05-13 11:39:28 +02:00
2016-02-23 00:21:49 +01:00
2016-08-29 16:27:09 +02:00
2017-05-13 11:39:28 +02:00
2017-04-23 14:40:30 +07:00
2017-04-23 14:40:30 +07:00
2017-05-13 11:39:28 +02:00
2017-05-12 17:37:20 +02:00
2017-05-13 11:39:28 +02:00
2017-04-10 11:25:44 +02:00
2017-02-03 21:52:22 +01:00
2016-01-31 15:34:09 -08:00
2016-01-27 16:36:46 +00:00
2016-01-27 16:36:46 +00:00
2015-01-09 17:26:31 +01:00
2017-05-13 11:39:28 +02:00
2017-04-23 18:21:51 +02:00
2017-04-23 14:40:30 +07:00
2016-01-27 16:36:46 +00:00
2014-06-25 18:22:31 +02:00
2015-04-21 22:54:13 +02:00
2015-09-20 19:02:33 +02:00
2017-04-23 14:40:30 +07:00
2017-04-23 14:40:30 +07:00
2017-01-29 13:29:33 +01:00
2016-08-29 16:27:09 +02:00
2017-05-13 11:39:28 +02:00
2016-01-27 16:36:46 +00:00
2016-11-13 10:41:16 +01:00
2017-05-13 11:39:28 +02:00
2017-05-15 11:46:50 +02:00
2017-05-15 11:46:50 +02:00
2017-03-30 00:02:08 +02:00
2017-03-30 03:12:05 +02:00
2017-03-30 00:02:08 +02:00
2017-04-23 14:40:30 +07:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-04-23 14:40:30 +07:00
2017-05-13 11:39:28 +02:00
2017-01-06 12:27:46 +01:00
2015-11-25 22:22:17 +01:00
2017-05-13 11:39:28 +02:00
2017-03-26 20:34:47 +02:00
2017-05-13 11:39:28 +02:00
2016-01-27 16:36:46 +00:00
2017-05-13 11:39:28 +02:00
2017-04-23 14:40:30 +07:00
2016-02-04 18:02:29 +01:00
2016-08-29 16:27:09 +02:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-04-23 14:40:30 +07:00
2016-08-28 11:00:06 +02:00
2017-05-13 11:39:28 +02:00
2017-01-30 18:44:08 +01:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-05-02 14:09:50 -03:00
2016-12-27 23:49:44 +01:00
2017-02-03 21:52:22 +01:00
2017-05-13 11:39:28 +02:00
2016-09-12 14:38:45 +02:00
2017-04-23 14:40:30 +07:00
2016-08-28 11:00:06 +02:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2016-12-25 09:50:36 +01:00
2017-04-23 14:40:30 +07:00
2017-04-22 13:18:59 +02:00
2017-05-13 11:39:28 +02:00
2016-08-29 16:27:09 +02:00
2017-03-31 12:28:58 +02:00
2016-11-27 11:43:54 +01:00
2017-03-29 23:12:00 +02:00
2017-05-13 11:39:28 +02:00
2014-08-22 22:19:20 +02:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2017-05-13 11:39:28 +02:00
2016-11-13 10:41:16 +01:00
2017-04-23 14:40:30 +07:00
2016-12-25 09:50:36 +01:00
2016-08-20 11:50:58 -03:00
2016-08-16 18:09:50 +02:00
2015-04-05 15:46:11 +02:00