diff rtsp.c @ 4549:629bcd779fb8 libavformat

Change sizeof(struct_type) to sizeof(variable).
author rbultje
date Sat, 21 Feb 2009 14:40:19 +0000
parents f4b9967e0131
children bfe6fb676d46
line wrap: on
line diff
--- a/rtsp.c	Sat Feb 21 10:34:29 2009 +0000
+++ b/rtsp.c	Sat Feb 21 14:40:19 2009 +0000
@@ -748,7 +748,7 @@
     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));