Changed bitstream handling to allow in-memory bitstream.
Obviously a void function cannot return NULL
Fix create_bitstream()
Merge pull request #25 from lfasnacht/memory_bitstream

Changed bitstream handling to allow in-memory bitstream.