Kostya Shishkov
23f40a0788
read AVI palette from the end of extradata
...
Official AVI specification says that stream header in case of video contains
BITMAPINFO, which is equal to BITMAPINFOHEADER and optional palette. Currently
lavf AVI demuxer thinks otherwise which produces garbage on codecs that have
both palette and extradata (luckily, there are not so many such codecs).
An example of such file is:
http://samples.multimedia.cx/V-codecs/KMVC/baseball1.avi
(IIRC, MSS1 or MSS2 also had such situation but they are still not supported
by lavc).
As a side note, passing palette in extradata as it's been done previously is
not quite correct since proper _extra_ data is surplus bytes in
BITMAPINFOHEADER, not including palette.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-04-24 23:26:45 -07:00
..
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-04-03 22:46:40 +02:00
2011-04-23 00:27:10 +03:00
2011-03-21 21:31:34 +01:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-24 21:30:03 +03:00
2011-04-20 14:59:45 +03:00
2011-03-19 13:33:20 +00:00
2011-04-15 18:02:05 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-20 12:47:13 +01:00
2011-04-03 22:47:05 +02:00
2011-04-06 14:10:08 +02:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:47:05 +02:00
2011-03-19 13:33:20 +00:00
2011-04-21 14:13:09 +03:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-24 23:26:45 -07:00
2011-04-03 22:46:40 +02:00
2011-04-12 19:17:05 +02:00
2011-04-20 17:00:11 +02:00
2011-04-19 19:47:58 +02:00
2011-04-19 19:47:58 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-08 11:08:26 +02:00
2011-03-19 13:33:20 +00:00
2011-04-24 21:30:03 +03:00
2011-03-19 13:33:20 +00:00
2011-04-09 17:32:09 -07:00
2011-03-28 16:55:03 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-14 13:56:09 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-08 20:58:19 +02:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-24 08:06:39 -04:00
2011-03-19 13:33:20 +00:00
2011-04-19 19:47:58 +02:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-04-18 18:23:16 +02:00
2011-03-19 13:33:20 +00:00
2011-04-12 23:08:55 +03:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-20 14:59:45 +03:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-20 14:59:45 +03:00
2011-04-08 15:59:19 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-22 09:08:59 -04:00
2011-03-19 13:33:20 +00:00
2011-04-15 18:02:05 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-19 19:48:07 +02:00
2011-03-19 13:33:20 +00:00
2011-04-19 18:28:38 +02:00
2011-04-15 18:02:05 +02:00
2011-03-23 07:30:15 -04:00
2011-04-15 18:02:05 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-06 14:10:08 +02:00
2011-03-19 13:33:20 +00:00
2011-04-19 19:47:58 +02:00
2011-03-19 13:33:20 +00:00
2011-04-06 14:10:08 +02:00
2011-03-19 13:33:20 +00:00
2011-04-23 00:27:10 +03:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-19 19:47:58 +02:00
2011-04-07 18:11:24 +02:00
2011-03-19 13:33:20 +00:00
2011-04-19 19:47:58 +02:00
2011-04-19 18:28:38 +02:00
2011-04-19 18:28:38 +02:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-04-19 18:28:38 +02:00
2011-04-08 15:59:19 +02:00
2011-04-19 19:47:58 +02:00
2011-04-19 19:47:58 +02:00
2011-04-22 20:36:12 -07:00
2011-04-03 22:47:05 +02:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:47:32 +02:00
2011-03-20 20:33:05 -04:00
2011-04-03 22:47:05 +02:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-19 18:28:38 +02:00
2011-03-19 13:33:20 +00:00
2011-04-17 19:31:49 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-17 19:31:49 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-07 21:03:12 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-19 18:28:38 +02:00
2011-04-03 22:47:05 +02:00
2011-03-19 13:33:20 +00:00
2011-04-24 16:45:45 +02:00
2011-04-15 11:45:03 +02:00
2011-04-03 22:47:05 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-17 19:31:49 +02:00
2011-02-06 16:35:00 -05:00
2011-04-22 20:12:39 +02:00
2011-04-19 18:28:38 +02:00
2011-04-24 00:05:38 +03:00
2011-04-24 00:05:38 +03:00
2011-04-19 19:47:58 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-24 00:05:37 +03:00
2011-03-19 13:33:20 +00:00
2011-04-14 13:56:09 +02:00
2011-04-14 13:56:09 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-04-04 17:45:20 +02:00
2011-04-08 15:59:19 +02:00
2011-04-19 19:47:58 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-24 00:05:37 +03:00
2011-04-24 00:05:37 +03:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-24 00:05:37 +03:00
2011-04-24 00:05:37 +03:00
2011-04-24 00:05:37 +03:00
2011-04-24 00:05:37 +03:00
2011-04-24 00:05:37 +03:00
2011-04-24 00:05:37 +03:00
2011-04-24 00:05:37 +03:00
2011-04-24 00:05:37 +03:00
2011-04-24 00:05:37 +03:00
2011-04-04 17:45:20 +02:00
2011-04-24 00:05:37 +03:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:47:39 +02:00
2011-04-08 15:59:19 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-19 19:47:58 +02:00
2011-04-24 00:05:37 +03:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-04 17:45:20 +02:00
2011-04-08 16:45:40 +02:00
2011-04-19 19:47:58 +02:00
2011-04-19 19:47:58 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-08 16:45:41 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-01 19:29:08 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-04-20 14:59:45 +03:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-11 14:18:48 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-04-20 14:59:45 +03:00
2011-04-13 07:38:15 +02:00
2011-04-21 07:10:16 +02:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-04-24 00:05:38 +03:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-14 13:56:09 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-14 13:56:09 +02:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-04-15 13:28:04 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00