[FFmpeg-soc] [soc]: r5651 - mms/mmst.c
spyfeng
subversion at mplayerhq.hu
Wed Mar 10 17:58:02 CET 2010
Author: spyfeng
Date: Wed Mar 10 17:58:02 2010
New Revision: 5651
Log:
modify code indent.
Modified:
mms/mmst.c
Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c Wed Mar 10 17:54:37 2010 (r5650)
+++ mms/mmst.c Wed Mar 10 17:58:02 2010 (r5651)
@@ -900,16 +900,16 @@ static int asf_header_parser(MMSContext
do {
uint64_t chunksize = AV_RL64(p + sizeof(ff_asf_guid));
if (!memcmp(p, ff_asf_file_header, sizeof(ff_asf_guid))) {
- /* read packet size */
- if (end - p > sizeof(ff_asf_guid) * 2 + 64) {
- mms->asf_packet_len = AV_RL32(p + sizeof(ff_asf_guid) * 2 + 64);
- }
+ /* read packet size */
+ if (end - p > sizeof(ff_asf_guid) * 2 + 64) {
+ mms->asf_packet_len = AV_RL32(p + sizeof(ff_asf_guid) * 2 + 64);
+ }
} else if (!memcmp(p, ff_asf_stream_header, sizeof(ff_asf_guid))) {
mms->stream_num++;
}
- if (chunksize > end - p)
- return -1;
- p += chunksize;
+ if (chunksize > end - p)
+ return -1;
+ p += chunksize;
} while (end - p >= sizeof(ff_asf_guid) + 8);
return -1;
More information about the FFmpeg-soc
mailing list