qtdemux: Add out-of-bound check

Make sure we don't read invalid memory
1 file changed