192
192
* Mark the encoder so that it behaves accordingly.
194
194
if ((*output_format_context)->oformat->flags & AVFMT_GLOBALHEADER)
197
197
/** Open the encoder for the audio stream to use it later. */
198
198
if ((error = avcodec_open2(*output_codec_context, output_codec, NULL)) < 0) {