h264: Always decode MMCOs into temprary array
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 4 May 2013 18:21:47 +0000 (20:21 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 4 May 2013 18:23:05 +0000 (20:23 +0200)
commitc40f51e15b91898e5c69fca7c8c67e3da6624dd4
tree54104b07c4657196b9c8cb7bf58d1bda465963dd
parent30db867cb7be54fd8e756640b4e18cb20a70a64a
h264: Always decode MMCOs into temprary array

When decoding succeeded the array is copied into the permanent one.
This prevents inconsistencies
Fixes assertion failure

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264_refs.c