[FFmpeg-devel] [PATCH v2 1/6] avformat/rtsp: remove redundant assignment
lance.lmwang at gmail.com
lance.lmwang at gmail.com
Mon Dec 6 06:44:59 EET 2021
From: Limin Wang <lance.lmwang at gmail.com>
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
---
libavformat/rtsp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index deaed34..47120fd 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1178,8 +1178,8 @@ int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply,
char buf[MAX_URL_SIZE], buf1[MAX_URL_SIZE], *q;
unsigned char ch;
const char *p;
- int ret, content_length, line_count = 0, request = 0;
- unsigned char *content = NULL;
+ int ret, content_length, line_count, request;
+ unsigned char *content;
start:
line_count = 0;
--
1.8.3.1
More information about the ffmpeg-devel
mailing list