Fix crash when transcoding from mpeg2