mss2: prevent potential uninitialized reads
authorAlberto Delmás <adelmas@gmail.com>
Sun, 11 Nov 2012 08:47:39 +0000 (09:47 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 11 Nov 2012 15:07:50 +0000 (16:07 +0100)
commit802713c4e7b41bc2deed754d78649945c3442063
treee819205a65d461d259fdaa7741ec96a3c83ee369
parent6d93308c0ca3783b3278aef8e6e64d8f0558f319
mss2: prevent potential uninitialized reads

The alternative to zeroing on init is setting the corrupted flag in
all cases where pal_pic is not fully written, at the cost of added
complexity.

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
libavcodec/mss2.c