Clear codec_tag to prevent complains from libav about unsupported tags
Update format to make it consistent with the rest of the function.
Merge pull request #5 from charrea6/master

Fix the issue of "Tag <blah> incompatible with output codec id '<blah>'"