h264: use mbaff ref indices in fill_colmap() only for mbaff references
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 6 Oct 2011 20:54:00 +0000 (22:54 +0200)
committerJanne Grunau <janne-libav@jannau.net>
Tue, 18 Dec 2012 10:02:23 +0000 (11:02 +0100)
commitc9aab8a123c0bcf6adeab390db1ec783326456ca
tree69fc664883ab8269beca23ba03cc9a3ec3ff0f4d
parent61c6eef5456f2bc8b1dc49a0a759c975551cea29
h264: use mbaff ref indices in fill_colmap() only for mbaff references

Prevents writing beyond array bounds.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
libavcodec/h264_direct.c