diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2009-02-21 14:40:19 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2009-02-21 14:40:19 +0000 |
commit | d541a7d2d1d42f669de1716d6bbbc2e57335e837 (patch) | |
tree | 4f77bbb576ae6d446a61966babc18af01999cf7e /libavformat/rtsp.c | |
parent | 404944183d61ea8d2e9c02770651ea6d8306259f (diff) | |
download | ffmpeg-d541a7d2d1d42f669de1716d6bbbc2e57335e837.tar.gz |
Change sizeof(struct_type) to sizeof(variable).
Originally committed as revision 17474 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index ac8a9e18b9..d991a9de72 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -748,7 +748,7 @@ static void rtsp_send_cmd(AVFormatContext *s, int content_length, line_count; unsigned char *content = NULL; - memset(reply, 0, sizeof(RTSPHeader)); + memset(reply, 0, sizeof(*reply)); rt->seq++; av_strlcpy(buf, cmd, sizeof(buf)); |