diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-05-17 12:08:13 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-05-22 17:10:44 +0200 |
commit | c894f85f72c0bd922cf2bf746fe9c7fa5a932725 (patch) | |
tree | bcf3f8cabfd4d50f8ed47ee7b54fd5efe4ff2eef | |
parent | 909f5dfae15effe2e4f2fd7e0d1b490c224fde20 (diff) | |
download | ffmpeg-c894f85f72c0bd922cf2bf746fe9c7fa5a932725.tar.gz |
fftools/ffmpeg_dec: rename decode_video() to video_frame_process()
This function does not do any decoding anymore.
-rw-r--r-- | fftools/ffmpeg_dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fftools/ffmpeg_dec.c b/fftools/ffmpeg_dec.c index acb56e4118..e06747d9c4 100644 --- a/fftools/ffmpeg_dec.c +++ b/fftools/ffmpeg_dec.c @@ -179,7 +179,7 @@ static int64_t video_duration_estimate(const InputStream *ist, const AVFrame *fr return FFMAX(ist->last_frame_duration_est, 1); } -static int decode_video(InputStream *ist, AVFrame *frame) +static int video_frame_process(InputStream *ist, AVFrame *frame) { // The following line may be required in some cases where there is no parser // or the parser does not has_b_frames correctly @@ -462,7 +462,7 @@ int dec_packet(InputStream *ist, const AVPacket *pkt, int no_eof) audio_ts_process(ist, frame); } else { - ret = decode_video(ist, frame); + ret = video_frame_process(ist, frame); if (ret < 0) { av_log(NULL, AV_LOG_FATAL, "Error while processing the decoded " "data for stream #%d:%d\n", ist->file_index, ist->st->index); |