Re: [FFmpeg-devel] [PATCH 1/2] indeo4: Decode all or nothing of a band header.

2018-05-25 Thread Michael Niedermayer
On Thu, May 17, 2018 at 02:38:57PM +0200, Michael Niedermayer wrote: > This avoids inconsistent value combinations. > Alternatively it would be possible to add more checks and careful use of > temporary variables, but my try of this quickly seemed to become > a rather large change. > The disadvanta

[FFmpeg-devel] [PATCH 1/2] indeo4: Decode all or nothing of a band header.

2018-05-17 Thread Michael Niedermayer
This avoids inconsistent value combinations. Alternatively it would be possible to add more checks and careful use of temporary variables, but my try of this quickly seemed to become a rather large change. The disadvantage of this, is that the struct is copied back and forth. Fixes: index 6 out of