mov: don't overwrite existing indexes.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 28 Mar 2012 19:56:07 +0000 (12:56 -0700)
committerReinhard Tartler <siretart@tauware.de>
Sun, 29 Apr 2012 20:07:03 +0000 (22:07 +0200)
commita08cb950b25d31ecc9c083dc8f70b30ec3c70cc9
tree9aa1274e29814fd1d623274691c81fe253d015f6
parent46f8bbfc6d8ec609afd9166a9aecdda1388b8d07
mov: don't overwrite existing indexes.

Prevents all kind of badness if files contain multiple
indexes.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 4f7c7624c0db185c48c59d95d745ab3f7851a5b4)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavformat/mov.c