| 805 | } |
| 806 | |
| 807 | static void close_output_stream(OutputStream *ost) |
| 808 | { |
| 809 | OutputFile *of = output_files[ost->file_index]; |
| 810 | |
| 811 | ost->finished |= ENCODER_FINISHED; |
| 812 | if (of->shortest) { |
| 813 | int64_t end = av_rescale_q(ost->sync_opts - ost->first_pts, ost->enc_ctx->time_base, AV_TIME_BASE_Q); |
| 814 | of->recording_time = FFMIN(of->recording_time, end); |
| 815 | } |
| 816 | } |
| 817 | |
| 818 | static void output_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost) |
| 819 | { |
no outgoing calls
no test coverage detected