OSDN Git Service

Fix termination of mov_ch_layouts_wav array lookup
authorThierry Foucu <tfoucu@gmail.com>
Mon, 18 Mar 2013 21:00:23 +0000 (14:00 -0700)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 18 Mar 2013 22:50:35 +0000 (23:50 +0100)
commit823efd9286b376c27aca20547c4b5e27f7c920e6
tree64fcc7b3b9e0e5342789c7a06e82b46e5f90db94
parent9c22039c158c47c03df6c1e3b820fdf727a6c9c2
Fix termination of mov_ch_layouts_wav array lookup

Problem found using ASAN.
In some case, the ff_mov_get_channel_layout_tag function will not find 0
as termination for lookup in the array mov_ch_layouts_wav.

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