aboutsummaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2009-02-21 14:40:19 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2009-02-21 14:40:19 +0000
commitd541a7d2d1d42f669de1716d6bbbc2e57335e837 (patch)
tree4f77bbb576ae6d446a61966babc18af01999cf7e /ffserver.c
parent404944183d61ea8d2e9c02770651ea6d8306259f (diff)
downloadffmpeg-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 'ffserver.c')
-rw-r--r--ffserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c
index 9236050e12..927a888980 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -2654,7 +2654,7 @@ static int rtsp_parse_request(HTTPContext *c)
}
/* parse each header line */
- memset(header, 0, sizeof(RTSPHeader));
+ memset(header, 0, sizeof(*header));
/* skip to next line */
while (*p != '\n' && *p != '\0')
p++;