avformat/mxfdec: functions that add entries should not destroy the whole list on...
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 11 Sep 2013 10:13:44 +0000 (12:13 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 11 Sep 2013 10:19:17 +0000 (12:19 +0200)
commit5ca39a0b899ae4542de8ed77b7a7f139e74d66ab
treed93cd174262dcfc151df0fe0b81b41b618a79e84
parentc9367c07091b7e89964af71ffca8f24891b61284
avformat/mxfdec: functions that add entries should not destroy the whole list on failure

The caller does not expect this and there are variables left that index to otherwise
deallocated data.

This reverts a hunk from "avformat: Use av_reallocp_array() where suitable"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mxfdec.c