FFmpeg/libavcodec
Clément Bœsch c5566f0a94 lavc/pnm_parser: disable parsing for text based PNMs
P1, P2, and P3 are respectively the text versions of PBM, PGM and PPM
files.

We can not obtain the buffer size using av_imgage_get_buffer_size() as
every pixel in the picture will occupy a random size between 16 and 32
bits ("4 " and "231 " are such example).

Ideally, we could look for the next header (or EOF) in the bytestream,
but this commit is meant to fix a decoding regression introduced by
48ac4532d437790e56b8ed5d0d467dc88685f035.

Fix Ticket #5670
2016-06-27 18:04:50 +02:00
..
2016-06-22 18:49:33 +02:00
2016-05-04 18:16:21 +02:00
2016-04-05 23:13:44 -03:00
2016-05-31 01:08:25 +01:00
2016-05-04 18:16:21 +02:00
2016-05-21 18:10:07 +02:00
2016-03-28 14:13:17 -08:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-06-06 14:32:48 +02:00
2016-03-28 14:13:17 -08:00
2016-06-10 16:31:23 +02:00
2016-05-04 18:16:21 +02:00
2016-05-11 12:21:25 +02:00
2016-04-02 22:48:15 +01:00
2016-04-02 22:48:15 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-05 10:48:34 +02:00
2016-05-04 18:16:21 +02:00
2016-05-03 15:45:10 +02:00
2016-06-11 17:27:19 +02:00
2016-03-23 09:25:30 +01:00
2016-04-14 22:31:57 +02:00
2016-05-04 18:16:21 +02:00
2016-06-23 00:42:16 +02:00
2016-05-04 18:16:21 +02:00
2016-06-17 21:48:34 +02:00
2016-05-06 01:12:51 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-06-23 00:42:16 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-06-26 10:18:10 +02:00