MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / write_output_file_header

Function write_output_file_header

doc/examples/transcode_aac.c:346–355  ·  view source on GitHub ↗

* Write the header of the output file container. * @param output_format_context Format context of the output file * @return Error code (0 if successful) */

Source from the content-addressed store, hash-verified

344 * @return Error code (0 if successful)
345 */
346static int write_output_file_header(AVFormatContext *output_format_context)
347{
348 int error;
349 if ((error = avformat_write_header(output_format_context, NULL)) < 0) {
350 fprintf(stderr, "Could not write output file header (error '%s')\n",
351 av_err2str(error));
352 return error;
353 }
354 return 0;
355}
356
357/**
358 * Decode one audio frame from the input file.

Callers 1

mainFunction · 0.85

Calls 1

avformat_write_headerFunction · 0.85

Tested by

no test coverage detected