wm4
9aab222239
avcodec/dvdsubdec: reject some broken packets
...
If cmd_pos is broken, this would just keep accumulating packets in the
reassembly buffer, until it fails and flushes the buffer on overflow.
Since packets are usually rather small, this will take a lot of subtitle
packets. The perceived effect is that subtitles are not displayed
anymore after the faulty packet was passed to the decoder.
I'm not terribly sure about this, but on the other hand this code is
active only when fragmented packets need to be reassembled.
Fixes sample file in trac issue #4872 .
2015-09-22 17:41:01 +02:00
..
2015-09-18 02:39:17 +02:00
2015-09-21 14:37:32 -03:00
2015-09-05 16:42:44 +02:00
2015-09-16 23:14:26 -03:00
2015-09-16 23:14:26 -03:00
2015-09-16 23:14:26 -03:00
2015-09-06 18:36:42 +01:00
2015-09-05 08:32:09 +01:00
2015-09-06 15:30:26 +01:00
2015-09-16 23:14:26 -03:00
2015-09-16 17:48:02 +01:00
2015-09-12 13:15:02 +01:00
2015-09-06 15:30:25 +01:00
2015-09-08 22:39:20 +02:00
2015-09-06 15:30:25 +01:00
2015-09-01 06:30:08 +01:00
2015-09-05 13:24:52 -03:00
2015-09-05 16:42:44 +02:00
2015-09-12 22:09:35 +02:00
2015-09-06 16:25:55 +02:00
2015-09-07 16:06:25 -03:00
2015-09-17 11:36:16 -03:00
2015-09-05 16:51:53 +02:00
2015-09-10 16:36:47 +02:00
2015-09-16 11:27:20 +02:00
2015-09-09 09:55:14 +02:00
2015-09-15 18:02:43 +02:00
2015-09-10 16:36:47 +02:00
2015-09-17 10:33:21 +02:00
2015-09-17 11:31:40 +02:00
2015-09-19 14:11:52 +02:00
2015-09-17 21:16:26 +00:00
2015-09-12 15:16:57 +02:00
2015-09-08 17:10:48 +02:00
2015-09-05 14:16:16 -03:00
2015-09-05 14:16:16 -03:00
2015-09-22 17:41:01 +02:00
2015-09-08 14:34:09 +02:00
2015-09-15 07:52:15 +00:00
2015-09-16 11:27:20 +02:00
2015-09-16 11:27:20 +02:00
2015-09-17 11:31:40 +02:00
2015-09-04 12:03:44 +02:00
2015-09-10 23:53:05 +02:00
2015-09-08 17:10:48 +02:00
2015-09-15 20:46:04 +02:00
2015-09-06 16:25:56 +02:00
2015-09-06 16:25:56 +02:00
2015-09-12 15:12:05 +02:00
2015-09-18 22:42:38 +02:00
2015-09-03 13:55:38 +02:00
2015-09-04 12:14:14 +02:00
2015-09-19 13:06:40 +02:00
2015-09-03 22:17:24 +02:00
2015-09-09 00:17:59 +02:00
2015-09-02 01:22:45 +02:00
2015-09-12 17:50:23 +02:00
2015-09-05 00:37:53 +02:00
2015-09-20 21:15:12 +02:00
2015-09-04 03:09:03 +02:00
2015-09-20 00:17:32 +02:00
2015-09-21 20:44:14 -04:00
2015-09-20 00:17:32 +02:00
2015-09-12 15:16:57 +02:00
2015-09-06 15:48:34 +02:00
2015-09-06 13:39:04 +02:00
2015-09-03 13:55:38 +02:00
2015-09-03 13:55:38 +02:00
2015-09-09 10:01:10 +00:00
2015-09-19 18:34:55 +02:00
2015-09-05 17:06:14 +02:00
2015-09-19 02:43:39 -03:00
2015-09-16 11:23:40 +02:00
2015-09-20 12:56:29 +02:00
2015-09-04 23:48:32 +02:00
2015-09-16 14:04:46 +02:00
2015-09-16 12:08:39 +02:00
2015-09-04 11:26:14 +02:00
2015-09-15 18:02:43 +02:00
2015-09-15 18:02:43 +02:00
2015-09-09 10:01:10 +00:00
2015-09-10 15:00:19 +02:00
2015-09-08 17:10:48 +02:00
2015-09-08 16:35:28 +02:00
2015-09-15 18:02:43 +02:00
2015-09-15 18:02:43 +02:00
2015-09-05 18:25:24 +02:00
2015-09-09 01:56:14 +02:00
2015-09-11 19:35:22 -04:00
2015-09-12 17:50:23 +02:00
2015-09-08 16:35:28 +02:00
2015-09-16 11:38:20 +02:00
2015-09-16 11:27:20 +02:00
2015-09-19 16:25:58 +01:00
2015-09-01 06:34:50 +01:00
2015-09-07 12:53:00 +02:00
2015-09-07 12:53:00 +02:00
2015-09-18 22:57:56 -03:00
2015-09-16 11:27:20 +02:00
2015-09-11 13:42:05 +02:00
2015-09-11 13:45:29 +02:00
2015-09-11 13:45:29 +02:00
2015-09-05 16:42:44 +02:00
2015-09-20 00:30:39 +02:00
2015-09-12 13:30:41 +02:00
2015-09-11 18:19:00 +02:00
2015-09-19 23:52:16 +02:00
2015-09-16 11:23:20 +02:00
2015-09-18 02:52:54 +02:00
2015-09-18 02:52:57 +02:00
2015-09-16 11:23:20 +02:00
2015-09-18 02:52:57 +02:00
2015-09-02 20:55:09 +02:00
2015-09-18 02:52:57 +02:00
2015-09-16 11:23:20 +02:00
2015-09-18 02:52:54 +02:00
2015-09-18 02:52:54 +02:00
2015-09-02 21:10:36 +02:00
2015-09-02 21:10:36 +02:00
2015-09-14 14:10:09 +02:00
2015-09-17 11:36:16 -03:00
2015-09-15 18:02:43 +02:00
2015-09-15 18:02:43 +02:00
2015-09-12 18:24:49 +02:00
2015-09-12 15:16:57 +02:00
2015-09-08 16:35:28 +02:00
2015-09-05 16:59:23 +02:00
2015-09-07 22:04:02 +02:00
2015-09-07 22:04:02 +02:00
2015-09-07 22:04:02 +02:00
2015-09-07 22:04:02 +02:00
2015-09-07 22:04:02 +02:00
2015-09-04 02:19:06 +02:00
2015-09-02 21:10:36 +02:00
2015-09-05 11:56:23 +02:00
2015-09-12 18:24:49 +02:00
2015-09-17 02:08:15 +02:00
2015-09-06 14:06:44 +02:00
2015-09-15 18:02:43 +02:00
2015-09-04 02:15:50 +02:00
2015-09-20 23:26:39 +02:00
2015-09-20 23:26:39 +02:00
2015-09-04 02:14:10 +02:00
2015-09-06 13:07:44 +02:00
2015-09-04 01:28:26 +02:00
2015-09-12 17:50:24 +02:00
2015-09-08 17:10:48 +02:00
2015-09-10 22:17:27 +02:00
2015-09-04 01:28:25 +02:00
2015-09-12 15:16:57 +02:00
2015-09-15 20:56:23 +02:00
2015-09-08 14:30:00 +02:00
2015-09-08 14:30:00 +02:00
2015-09-16 11:41:07 +02:00
2015-09-16 11:27:20 +02:00
2015-09-16 11:27:20 +02:00
2015-09-16 11:27:20 +02:00
2015-09-07 15:32:08 +02:00
2015-09-05 16:59:23 +02:00
2015-09-05 16:45:26 -03:00
2015-09-17 11:31:40 +02:00
2015-09-07 16:06:25 -03:00
2015-09-06 16:25:58 +02:00
2015-09-06 16:25:58 +02:00
2015-09-03 09:12:14 +00:00
2015-09-04 01:13:05 +02:00
2015-09-03 13:55:38 +02:00
2015-09-04 09:59:17 -04:00
2015-09-15 09:20:34 -04:00
2015-09-05 15:50:01 -04:00
2015-09-10 07:51:16 -04:00
2015-09-10 07:51:16 -04:00
2015-09-09 10:01:10 +00:00
2015-09-12 15:16:57 +02:00
2015-09-15 18:02:43 +02:00
2015-09-15 18:02:43 +02:00
2015-09-14 19:36:21 +02:00
2015-09-02 21:10:36 +02:00