fixed: remuxing failed by example code

I got an error while remuxing a mp4 file while using the example code. After I set codec_tag = 0, it works fine.
I didn't get further in it, maybe there should be a better solution.
Please fix it.