Fix globalheader/avc handling of packages. Transcoder now finaly
works(for video).