mpegts: fix null-pointer dereference