ffmpeg_opt: Check ist is valid before using it in audio_channels_map init
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 15 Mar 2014 21:14:08 +0000 (22:14 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 15 Mar 2014 21:14:08 +0000 (22:14 +0100)
commit8803b970ef98ea51278dece401d23dc870c5aa01
tree211c6b80c91dc3cfeba6dc3528f1fddea941ab71
parent06a3185e38614ff22e4586675b85228f07819452
ffmpeg_opt: Check ist is valid before using it in audio_channels_map init

Fixes segfault and instead provides an error message
Fixes Ticket3465

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg_opt.c