OSDN Git Service

avformat/utils: reorder operations in update_wrap_reference()
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 4 Dec 2013 13:29:35 +0000 (14:29 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 4 Dec 2013 13:36:35 +0000 (14:36 +0100)
commit34b16e2d364cf86960eac09e451dae6ae8792e08
tree26f441f62608d31cc0f15a92702a8b27aa6afc55
parentf1783c05f1398b7a08f16f6aafbcf38a5323e770
avformat/utils: reorder operations in update_wrap_reference()

prevents a integer overflow

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