aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2021-12-05 21:12:28 +0800
committerLimin Wang <lance.lmwang@gmail.com>2021-12-07 20:33:17 +0800
commit130e4c6f4c3a7daeaeee4d195c1122f21fbc95c7 (patch)
tree7be5b1bf9a7021cff8e8ea157e213fc7929c5957 /libavformat/rtsp.c
parenta454dfacd560e40fa5fea796f0d5b437f78e54e4 (diff)
downloadffmpeg-130e4c6f4c3a7daeaeee4d195c1122f21fbc95c7.tar.gz
avformat/rtsp: remove redundant assignment
Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index deaed34db4..47120fdf61 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;