[FFmpeg-devel] [PATCH v2 1/6] avformat/rtsp: remove redundant assignment
Martin Storsjö
martin at martin.st
Tue Dec 7 11:22:51 EET 2021
On Mon, 6 Dec 2021, lance.lmwang at gmail.com wrote:
> 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
LGTM
// Martin
More information about the ffmpeg-devel
mailing list