changeset 4549:629bcd779fb8 libavformat

Change sizeof(struct_type) to sizeof(variable).
author rbultje
date Sat, 21 Feb 2009 14:40:19 +0000
parents 2c9ebc4029ae
children a36f9f2eefcb
files rtsp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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));