Michael Niedermayer
8ab8070784
avcodec/utils: fix sizeof(AVFrame) dependence in avcodec_encode_audio2()
...
This is a bit tricky, we allocate a correctly sized AVFrame but then only
copy the compile time AVFrame size, this is to ensure that user applications
which do not use the correct av frame API dont end with out of array reads.
Note, applications using the correct API have set extended_data and the
changed code will never be executed for them.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-03-18 02:03:30 +01:00
..
2014-03-15 01:08:45 +01:00
2014-03-14 02:12:45 +01:00
2014-03-13 23:40:55 +01:00
2014-03-13 22:24:19 +01:00
2014-03-13 22:37:38 +01:00
2014-03-17 21:04:15 +01:00
2014-03-13 23:59:56 +01:00
2014-03-13 23:59:56 +01:00
2014-03-13 23:59:56 +01:00
2014-03-15 01:34:42 +01:00
2014-03-13 22:35:47 +01:00
2014-03-14 00:39:51 +01:00
2014-03-14 00:39:51 +01:00
2014-03-17 14:53:05 +01:00
2014-03-14 00:52:07 +01:00
2014-03-14 00:39:51 +01:00
2014-03-14 00:39:51 +01:00
2014-03-14 00:39:51 +01:00
2014-03-14 00:39:51 +01:00
2014-03-17 13:22:40 +01:00
2014-03-17 13:22:40 +01:00
2014-03-17 13:22:40 +01:00
2014-03-17 13:22:40 +01:00
2014-03-17 13:22:40 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 05:36:17 +01:00
2014-03-13 21:26:49 +01:00
2014-03-13 21:26:49 +01:00
2014-03-17 15:58:02 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 13:46:23 +01:00
2014-03-17 13:46:23 +01:00
2014-03-17 13:46:23 +01:00
2014-03-17 12:26:09 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 06:05:19 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 13:46:23 +01:00
2014-03-17 13:46:23 +01:00
2014-03-17 13:46:23 +01:00
2014-03-13 23:30:43 +01:00
2014-03-14 00:39:51 +01:00
2014-03-13 23:30:43 +01:00
2014-03-13 22:35:47 +01:00
2014-03-13 22:35:47 +01:00
2014-03-14 00:39:51 +01:00
2014-03-15 14:56:42 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 12:36:48 +01:00
2014-03-14 04:26:24 +01:00
2014-03-17 16:23:01 +01:00
2014-03-17 13:23:48 +01:00
2014-03-14 00:39:51 +01:00
2014-03-17 16:14:28 +01:00
2014-03-16 23:31:30 +01:00
2014-03-17 12:36:48 +01:00
2014-03-14 00:39:51 +01:00
2014-03-14 00:39:51 +01:00
2014-03-13 21:06:42 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 13:23:48 +01:00
2014-03-17 13:23:48 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 13:23:48 +01:00
2014-03-17 13:31:28 +01:00
2014-03-17 12:36:48 +01:00
2014-03-13 23:30:43 +01:00
2014-03-13 22:06:01 +01:00
2014-03-14 00:39:51 +01:00
2014-03-17 15:29:42 +01:00
2014-03-17 15:29:42 +01:00
2014-03-17 15:29:42 +01:00
2014-03-17 15:33:17 +01:00
2014-03-17 12:36:48 +01:00
2014-03-16 23:29:51 +01:00
2014-03-16 18:24:23 +01:00
2014-03-14 00:45:26 +01:00
2014-03-17 12:36:48 +01:00
2014-03-14 00:39:51 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 12:36:48 +01:00
2014-03-14 00:39:51 +01:00
2014-03-14 00:39:51 +01:00
2014-03-17 12:36:48 +01:00
2014-03-17 13:46:23 +01:00
2014-03-16 23:31:29 +01:00
2014-03-18 02:03:30 +01:00
2014-03-17 12:45:36 +01:00
2014-03-17 12:45:36 +01:00
2014-03-17 12:45:36 +01:00
2014-03-17 12:45:36 +01:00
2014-03-17 12:45:36 +01:00
2014-03-17 12:45:36 +01:00
2014-03-17 12:36:48 +01:00
2014-03-13 23:30:43 +01:00
2014-03-17 13:05:13 +01:00
2014-03-17 13:05:13 +01:00
2014-03-17 13:05:13 +01:00
2014-03-17 13:05:13 +01:00
2014-03-17 13:05:13 +01:00
2014-03-17 13:35:23 +01:00
2014-03-13 22:35:47 +01:00
2014-03-13 23:30:43 +01:00
2014-03-14 00:39:51 +01:00
2014-03-17 12:36:48 +01:00