Mercurial > libavformat.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
4548:2c9ebc4029ae | 4549:629bcd779fb8 |
---|---|
746 unsigned char ch; | 746 unsigned char ch; |
747 const char *p; | 747 const char *p; |
748 int content_length, line_count; | 748 int content_length, line_count; |
749 unsigned char *content = NULL; | 749 unsigned char *content = NULL; |
750 | 750 |
751 memset(reply, 0, sizeof(RTSPHeader)); | 751 memset(reply, 0, sizeof(*reply)); |
752 | 752 |
753 rt->seq++; | 753 rt->seq++; |
754 av_strlcpy(buf, cmd, sizeof(buf)); | 754 av_strlcpy(buf, cmd, sizeof(buf)); |
755 snprintf(buf1, sizeof(buf1), "CSeq: %d\r\n", rt->seq); | 755 snprintf(buf1, sizeof(buf1), "CSeq: %d\r\n", rt->seq); |
756 av_strlcat(buf, buf1, sizeof(buf)); | 756 av_strlcat(buf, buf1, sizeof(buf)); |