Anton Khirnov
fd056029f4
lavc: add avcodec_free_context().
...
Right now, the caller has to manually manage some allocated
AVCodecContext fields, like extradata or subtitle_header. This is
fragile and prone to leaks, especially if we want to add more such
fields in the future.
The only reason for this behaviour is so that the AVStream codec context
can be reused for decoding. Such reuse is discouraged anyway, so this
commit is the first step to deprecating it.
2014-05-18 10:17:41 +02:00
..
2014-05-15 18:17:02 +02:00
2014-04-29 14:49:42 +02:00
2014-03-22 06:17:29 -07:00
2014-04-04 19:08:05 +02:00
2014-04-13 11:29:28 +02:00
2014-03-22 14:08:20 +01:00
2014-05-11 14:59:07 +02:00
2014-02-20 04:16:15 -08:00
2014-05-01 13:00:57 +02:00
2014-03-13 05:50:29 -07:00
2014-01-05 16:41:56 +01:00
2014-02-15 22:24:48 +01:00
2014-02-15 22:25:00 +01:00
2014-01-19 19:12:42 +01:00
2014-03-13 05:50:29 -07:00
2014-03-13 05:50:29 -07:00
2014-01-06 19:12:48 +01:00
2014-03-26 04:31:27 -07:00
2014-03-04 11:45:32 +01:00
2014-03-25 12:28:22 +01:00
2014-01-09 15:09:07 +01:00
2014-03-22 14:08:20 +01:00
2014-03-22 14:08:20 +01:00
2014-03-26 23:25:02 +01:00
2014-03-26 23:25:02 +01:00
2014-05-15 06:49:34 +02:00
2014-03-22 14:08:20 +01:00
2014-03-22 14:08:20 +01:00
2014-02-09 18:50:53 +01:00
2014-01-09 19:33:07 +01:00
2014-01-09 19:33:07 +01:00
2014-01-09 19:33:07 +01:00
2014-01-31 11:09:10 +01:00
2014-01-09 19:33:07 +01:00
2014-05-18 10:17:41 +02:00
2014-02-17 15:36:09 +01:00
2014-04-04 19:08:05 +02:00
2014-03-22 06:17:29 -07:00
2014-03-28 00:08:24 +01:00
2014-03-22 14:08:20 +01:00
2014-03-27 18:27:23 +01:00
2014-04-12 14:49:08 -04:00
2014-03-09 00:45:34 +01:00
2014-01-14 22:19:03 +01:00
2014-03-09 00:45:33 +01:00
2014-03-13 08:12:44 -07:00
2014-01-06 08:22:48 +01:00
2014-03-22 06:17:29 -07:00
2014-03-22 14:08:20 +01:00
2014-04-23 19:57:44 +02:00
2014-03-27 23:25:39 +01:00
2014-01-06 19:12:48 +01:00
2014-03-04 11:45:32 +01:00
2014-02-28 13:00:47 +01:00
2014-04-14 11:56:26 +02:00
2014-02-28 13:03:22 +01:00
2014-02-28 13:03:22 +01:00
2014-01-15 11:58:39 +01:00
2014-03-22 14:08:20 +01:00
2014-04-11 12:09:08 +02:00
2014-04-11 12:09:08 +02:00
2014-04-11 12:09:08 +02:00
2014-04-11 12:09:09 +02:00
2014-04-11 12:09:09 +02:00
2014-03-26 04:31:27 -07:00
2014-04-04 19:08:05 +02:00
2014-04-04 19:08:05 +02:00
2014-03-26 04:31:27 -07:00
2014-04-04 19:08:05 +02:00
2014-04-04 19:08:05 +02:00
2014-04-04 19:08:05 +02:00
2014-04-04 19:08:05 +02:00
2014-04-04 19:08:05 +02:00
2014-04-04 19:08:05 +02:00
2014-03-22 14:08:20 +01:00
2014-05-11 14:59:07 +02:00
2014-04-01 00:10:15 +02:00
2014-05-11 14:59:07 +02:00
2014-05-11 14:59:07 +02:00
2014-04-01 00:10:15 +02:00
2014-04-28 20:21:59 +02:00
2014-02-15 22:25:00 +01:00
2014-02-04 21:59:14 +01:00
2014-03-18 13:07:52 +01:00
2014-03-16 23:01:00 +01:00
2014-04-01 01:13:09 +02:00
2014-01-06 19:12:48 +01:00
2014-01-06 19:12:48 +01:00
2014-04-22 19:35:40 +02:00
2014-01-06 19:12:48 +01:00
2014-01-06 19:12:48 +01:00
2014-01-06 19:12:48 +01:00
2014-04-22 19:35:40 +02:00
2014-03-13 05:50:27 -07:00
2014-03-13 05:50:27 -07:00
2014-01-25 21:50:20 +01:00
2014-04-23 17:53:00 +01:00
2014-05-01 13:00:57 +02:00
2014-03-16 23:31:30 +01:00
2014-04-02 00:27:22 +02:00
2014-03-30 00:28:27 +02:00
2014-03-25 12:28:22 +01:00
2014-04-09 02:12:19 +02:00
2014-03-16 23:04:41 +01:00
2014-03-16 23:04:41 +01:00
2014-05-11 14:59:07 +02:00
2014-03-16 23:04:41 +01:00
2014-03-16 23:05:47 +01:00
2014-03-16 23:05:47 +01:00
2014-03-16 23:05:47 +01:00
2014-03-26 04:31:27 -07:00
2014-03-23 22:41:12 +01:00
2014-03-26 04:31:27 -07:00
2014-03-16 23:04:41 +01:00
2014-03-16 23:04:41 +01:00
2014-03-23 22:41:12 +01:00
2014-04-02 00:27:22 +02:00
2014-04-02 00:27:22 +02:00
2014-02-14 05:10:58 +01:00
2014-05-11 15:00:03 +02:00
2014-04-06 23:33:17 +02:00
2014-03-23 22:41:12 +01:00
2014-02-20 14:02:06 +01:00
2014-01-15 12:07:18 +01:00
2014-01-15 12:07:18 +01:00
2014-03-16 23:05:47 +01:00
2014-01-15 12:13:41 +01:00
2014-01-15 12:13:41 +01:00
2014-03-26 04:31:27 -07:00
2014-03-13 05:50:28 -07:00
2014-04-04 19:08:05 +02:00
2014-04-04 04:00:11 +02:00
2014-03-22 06:17:30 -07:00
2014-01-15 12:17:49 +01:00
2014-01-15 12:17:49 +01:00
2014-02-23 14:34:40 +01:00
2014-02-09 19:53:43 +01:00
2014-03-09 17:23:08 +01:00
2014-03-09 17:22:53 +01:00
2014-03-09 17:23:08 +01:00
2014-02-23 14:34:41 +01:00
2014-03-26 04:31:27 -07:00
2014-03-26 04:31:27 -07:00
2014-03-13 05:50:28 -07:00
2014-02-28 21:17:01 +01:00
2014-02-28 21:17:01 +01:00
2014-03-22 06:17:29 -07:00
2014-03-22 06:17:29 -07:00
2014-03-22 06:17:29 -07:00
2014-04-04 19:08:05 +02:00
2014-03-23 01:56:58 +01:00
2014-05-11 14:59:07 +02:00
2014-04-09 02:12:19 +02:00
2014-03-16 23:04:41 +01:00
2014-03-16 23:04:41 +01:00
2014-03-22 14:08:20 +01:00
2014-03-22 14:08:20 +01:00
2014-02-04 12:35:38 +01:00
2014-01-06 08:15:36 +01:00
2014-03-22 18:36:33 +01:00
2014-05-05 14:18:43 +03:00
2014-05-05 14:18:43 +03:00
2014-03-31 01:11:16 +02:00
2014-03-18 21:54:31 +01:00
2014-03-18 21:54:31 +01:00
2014-01-06 18:56:44 +02:00
2014-04-11 00:09:34 +02:00
2014-02-21 11:08:09 +01:00
2014-02-24 07:25:07 +01:00
2014-03-16 23:31:30 +01:00
2014-04-10 13:28:59 +01:00
2014-05-01 09:24:02 +02:00
2014-03-16 23:31:30 +01:00
2014-03-04 11:45:32 +01:00
2014-05-15 06:49:34 +02:00
2014-03-22 06:17:29 -07:00
2014-03-22 06:17:29 -07:00
2014-01-06 19:12:48 +01:00
2014-01-06 19:12:48 +01:00
2014-01-06 19:12:48 +01:00
2014-03-16 23:31:30 +01:00
2014-03-22 14:08:20 +01:00
2014-03-25 12:28:22 +01:00
2014-03-04 11:45:32 +01:00
2014-03-22 14:08:20 +01:00
2014-03-16 23:31:30 +01:00
2014-01-09 09:56:51 +01:00
2014-02-08 20:10:51 +01:00
2014-01-05 16:41:56 +01:00
2014-01-05 16:41:56 +01:00
2014-03-26 19:54:29 +02:00
2014-03-26 19:54:29 +02:00
2014-03-26 19:54:29 +02:00
2014-05-01 09:24:18 +02:00
2014-05-01 09:24:18 +02:00
2014-03-13 08:12:44 -07:00
2014-03-13 08:12:44 -07:00
2014-03-13 05:50:27 -07:00
2014-02-20 04:16:15 -08:00
2014-03-16 23:04:41 +01:00
2014-03-16 23:04:41 +01:00
2014-04-09 02:12:19 +02:00
2014-04-04 19:08:05 +02:00
2014-05-11 14:59:07 +02:00
2014-04-09 02:12:19 +02:00
2014-04-22 22:01:45 +02:00
2014-04-22 22:01:45 +02:00
2014-04-11 00:09:34 +02:00
2014-03-16 23:05:39 +01:00
2014-03-16 23:05:39 +01:00
2014-05-01 09:24:18 +02:00
2014-04-09 02:12:19 +02:00
2014-04-09 02:12:19 +02:00
2014-05-11 14:59:07 +02:00
2014-05-01 09:24:18 +02:00
2014-04-09 02:12:19 +02:00
2014-04-04 19:08:05 +02:00
2014-04-09 02:12:19 +02:00
2014-03-22 06:17:29 -07:00
2014-04-04 19:08:05 +02:00
2014-03-22 14:08:20 +01:00
2014-04-19 21:41:34 +03:00
2014-03-04 11:45:32 +01:00
2014-03-22 06:17:29 -07:00
2014-04-23 19:57:44 +02:00
2014-04-23 19:57:44 +02:00
2014-04-23 20:54:29 +02:00
2014-05-01 09:24:18 +02:00
2014-05-18 10:17:41 +02:00
2014-05-15 18:17:02 +02:00
2014-05-15 18:17:02 +02:00
2014-05-15 18:17:02 +02:00
2014-05-15 06:49:34 +02:00
2014-05-15 06:49:34 +02:00
2014-05-15 06:49:34 +02:00
2014-05-15 18:17:02 +02:00
2014-05-15 06:49:34 +02:00
2014-03-27 23:34:47 +01:00
2014-02-25 13:40:47 +01:00
2014-05-09 16:07:15 +02:00
2014-03-22 06:17:29 -07:00
2014-03-22 06:17:29 -07:00
2014-03-16 23:29:50 +01:00
2014-03-16 23:29:50 +01:00
2014-03-16 23:29:50 +01:00
2014-03-16 23:29:51 +01:00
2014-02-28 11:17:25 +01:00
2014-02-28 11:17:25 +01:00
2014-02-28 11:19:47 +01:00
2014-05-11 14:59:07 +02:00
2014-03-04 11:45:32 +01:00
2014-03-04 11:45:32 +01:00
2014-05-01 09:23:19 +02:00
2014-04-08 23:24:36 +02:00
2014-03-24 06:07:51 +01:00
2014-02-20 04:16:15 -08:00
2014-03-22 06:17:29 -07:00
2014-02-10 15:22:28 +01:00
2014-03-22 06:17:29 -07:00
2014-03-22 06:17:29 -07:00
2014-04-09 02:12:19 +02:00
2014-04-09 02:12:19 +02:00
2014-03-22 06:17:29 -07:00
2014-04-09 02:12:19 +02:00
2014-01-15 12:07:18 +01:00
2014-04-09 02:12:19 +02:00
2014-03-26 04:31:27 -07:00
2014-04-06 16:40:27 +02:00
2014-03-18 13:08:00 +01:00
2014-04-01 01:13:18 +02:00
2014-04-01 01:19:03 +02:00
2014-04-01 01:19:03 +02:00
2014-04-19 16:24:26 +02:00
2014-02-04 21:59:57 +01:00
2014-03-26 04:31:27 -07:00
2014-04-09 02:12:19 +02:00
2014-03-22 06:17:30 -07:00
2014-02-20 04:16:15 -08:00
2014-02-28 13:00:48 +01:00
2014-02-28 13:00:48 +01:00
2014-04-12 14:52:10 -04:00
2014-04-12 14:52:07 -04:00
2014-04-12 14:52:07 -04:00
2014-03-22 06:17:30 -07:00
2014-03-22 06:17:30 -07:00
2014-03-22 06:17:30 -07:00
2014-02-04 22:00:13 +01:00
2014-03-22 14:08:20 +01:00
2014-03-22 14:08:20 +01:00
2014-05-18 10:16:35 +02:00
2014-04-02 00:27:22 +02:00
2014-02-14 15:09:39 +00:00
2014-04-28 20:23:17 +02:00
2014-03-20 17:01:59 +01:00
2014-04-09 02:12:19 +02:00
2014-04-09 02:12:19 +02:00
2014-04-09 02:12:19 +02:00
2014-04-09 02:12:19 +02:00
2014-04-09 02:12:19 +02:00
2014-05-11 14:59:07 +02:00
2014-04-04 19:08:05 +02:00
2014-04-04 19:08:05 +02:00
2014-05-11 15:00:03 +02:00
2014-05-11 15:00:03 +02:00
2014-05-11 15:00:03 +02:00
2014-05-11 15:00:03 +02:00
2014-05-11 14:59:07 +02:00
2014-03-20 17:00:39 +01:00
2014-05-11 14:59:07 +02:00
2014-05-11 14:59:07 +02:00
2014-05-11 14:59:07 +02:00
2014-04-09 02:12:19 +02:00
2014-05-18 10:17:41 +02:00
2014-03-26 04:31:27 -07:00
2014-04-06 21:18:49 +02:00
2014-04-06 21:18:49 +02:00
2014-04-06 16:41:39 +02:00
2014-04-22 22:01:45 +02:00
2014-04-22 22:01:45 +02:00
2014-03-04 11:45:32 +01:00
2014-04-01 23:47:25 +02:00
2014-04-01 23:47:25 +02:00
2014-04-01 23:47:25 +02:00
2014-04-04 19:08:05 +02:00
2014-03-29 16:11:09 +01:00
2014-04-04 04:00:11 +02:00
2014-04-14 21:27:20 +03:00
2014-04-04 04:00:11 +02:00
2014-04-04 04:00:11 +02:00
2014-04-04 04:00:11 +02:00
2014-05-03 18:25:17 +02:00
2014-01-09 09:43:59 +01:00
2014-01-24 07:02:56 +01:00
2014-02-27 13:38:00 -08:00
2014-04-04 19:08:05 +02:00
2014-03-22 14:08:20 +01:00
2014-04-02 00:27:22 +02:00
2014-01-09 09:41:19 +01:00
2014-03-23 01:56:58 +01:00
2014-03-27 23:59:13 +01:00
2014-03-27 23:57:51 +01:00
2014-04-02 00:27:22 +02:00