diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2021-12-05 16:12:28 +0300 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2021-12-07 15:33:17 +0300 |
commit | 130e4c6f4c3a7daeaeee4d195c1122f21fbc95c7 (patch) | |
tree | 7be5b1bf9a7021cff8e8ea157e213fc7929c5957 /libavformat | |
parent | a454dfacd560e40fa5fea796f0d5b437f78e54e4 (diff) |
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')
-rw-r--r-- | libavformat/rtsp.c | 4 |
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; |