This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Change sizeof(struct_type) to sizeof(variable).
Originally committed as revision 17474 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Ronald S. Bultje
16 years ago
parent
404944183d
commit
d541a7d2d1
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
ffserver.c
+1
-1
libavformat/rtsp.c
+ 1
- 1
ffserver.c
View File
@@ -2654,7 +2654,7 @@ static int rtsp_parse_request(HTTPContext *c)
}
/* parse each header line */
memset(header, 0, sizeof(
RTSPH
eader));
memset(header, 0, sizeof(
*h
eader));
/* skip to next line */
while (*p != '\n' && *p != '\0')
p++;
+ 1
- 1
libavformat/rtsp.c
View File
@@ -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));
Write
Preview
Loading…
Cancel
Save