Use more appropriate return values in txd demuxer.