Passing the codec into avformat_new_stream() is preferred.
Attach a file by drag & drop or click to upload