* Write the trailer of the output file container. * @param output_format_context Format context of the output file * @return Error code (0 if successful) */
| 765 | * @return Error code (0 if successful) |
| 766 | */ |
| 767 | static int write_output_file_trailer(AVFormatContext *output_format_context) |
| 768 | { |
| 769 | int error; |
| 770 | if ((error = av_write_trailer(output_format_context)) < 0) { |
| 771 | fprintf(stderr, "Could not write output file trailer (error '%s')\n", |
| 772 | av_err2str(error)); |
| 773 | return error; |
| 774 | } |
| 775 | return 0; |
| 776 | } |
| 777 | |
| 778 | int main(int argc, char **argv) |
| 779 | { |
no test coverage detected