Re: [FFmpeg-devel] [PATCH] Support BMP files that do not properly align lines.

2015-01-27 Thread Michael Niedermayer
On Tue, Jan 27, 2015 at 09:25:29PM +0100, Reimar Döffinger wrote: > On Tue, Jan 27, 2015 at 09:50:26PM +0100, Michael Niedermayer wrote: > > On Tue, Jan 27, 2015 at 06:38:22AM +0100, Reimar Döffinger wrote: > > > On 26.01.2015, at 22:49, Michael Niedermayer wrote: > > > > On Mon, Jan 26, 2015 at 0

Re: [FFmpeg-devel] [PATCH] Support BMP files that do not properly align lines.

2015-01-27 Thread Reimar Döffinger
On Tue, Jan 27, 2015 at 09:50:26PM +0100, Michael Niedermayer wrote: > On Tue, Jan 27, 2015 at 06:38:22AM +0100, Reimar Döffinger wrote: > > On 26.01.2015, at 22:49, Michael Niedermayer wrote: > > > On Mon, Jan 26, 2015 at 08:21:16PM +0100, Reimar Döffinger wrote: > > >> Quite a few programs misse

Re: [FFmpeg-devel] [PATCH] Support BMP files that do not properly align lines.

2015-01-27 Thread Michael Niedermayer
On Tue, Jan 27, 2015 at 06:38:22AM +0100, Reimar Döffinger wrote: > On 26.01.2015, at 22:49, Michael Niedermayer wrote: > > On Mon, Jan 26, 2015 at 08:21:16PM +0100, Reimar Döffinger wrote: > >> Quite a few programs missed that detail of the spec > >> (including old versions of FFmpeg I believe) a

Re: [FFmpeg-devel] [PATCH] Support BMP files that do not properly align lines.

2015-01-26 Thread Reimar Döffinger
On 26.01.2015, at 22:49, Michael Niedermayer wrote: > On Mon, Jan 26, 2015 at 08:21:16PM +0100, Reimar Döffinger wrote: >> Quite a few programs missed that detail of the spec >> (including old versions of FFmpeg I believe) and when >> we would otherwise fail anyway it seems worth a try >> to us a

Re: [FFmpeg-devel] [PATCH] Support BMP files that do not properly align lines.

2015-01-26 Thread Michael Niedermayer
On Mon, Jan 26, 2015 at 08:21:16PM +0100, Reimar Döffinger wrote: > Quite a few programs missed that detail of the spec > (including old versions of FFmpeg I believe) and when > we would otherwise fail anyway it seems worth a try > to us a simple byte-aligned stride instead. > > Signed-off-by: Rei

[FFmpeg-devel] [PATCH] Support BMP files that do not properly align lines.

2015-01-26 Thread Reimar Döffinger
Quite a few programs missed that detail of the spec (including old versions of FFmpeg I believe) and when we would otherwise fail anyway it seems worth a try to us a simple byte-aligned stride instead. Signed-off-by: Reimar Döffinger --- libavcodec/bmp.c | 10 +++--- 1 file changed, 7 insert