From e1c42b11457b1413e71d13f25d2037a8f1be1eef Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Thu, 7 Apr 2022 10:46:22 +0200 Subject: [PATCH] Fix some bugs --- http/http_ffmpeg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/http/http_ffmpeg.c b/http/http_ffmpeg.c index 1e2f0e2..48e7a74 100644 --- a/http/http_ffmpeg.c +++ b/http/http_ffmpeg.c @@ -43,7 +43,6 @@ typedef struct { uint64_t start_time; int video_stream; - int pts; buffer_t *buf; unsigned buf_offset; unsigned stream_offset; @@ -213,7 +212,7 @@ static int http_ffmpeg_copy_packets(http_ffmpeg_status_t *status) ret = av_read_frame(status->input_context, status->packet); if (ret == AVERROR_EOF) { ret = 0; - E_LOG_DEBUG(status, "av_read_frame: EOF", ret, status->pts); + E_LOG_DEBUG(status, "av_read_frame: EOF", ret); break; } else if (ret < 0) { E_LOG_DEBUG(status, "av_read_frame: %08x, pts: %d", ret, status->packet->pts);