Mercurial > libavformat.hg
comparison mmst.c @ 6374:697815446a12 libavformat
Fix wrong command prefix for timing test in MMST protocol.
Patch by Zhentan Feng <spyfeng gmail com>.
author | rbultje |
---|---|
date | Fri, 13 Aug 2010 17:02:37 +0000 |
parents | 1423af8f47f7 |
children | 91076395b8d3 |
comparison
equal
deleted
inserted
replaced
6373:920c249caa55 | 6374:697815446a12 |
---|---|
164 } | 164 } |
165 | 165 |
166 static int send_time_test_data(MMSTContext *mmst) | 166 static int send_time_test_data(MMSTContext *mmst) |
167 { | 167 { |
168 start_command_packet(mmst, CS_PKT_TIMING_DATA_REQUEST); | 168 start_command_packet(mmst, CS_PKT_TIMING_DATA_REQUEST); |
169 insert_command_prefixes(&mmst->mms, 0xf0f0f0f1, 0x0004000b); | 169 insert_command_prefixes(&mmst->mms, 0x00f0f0f0, 0x0004000b); |
170 return send_command_packet(mmst); | 170 return send_command_packet(mmst); |
171 } | 171 } |
172 | 172 |
173 static int send_protocol_select(MMSTContext *mmst) | 173 static int send_protocol_select(MMSTContext *mmst) |
174 { | 174 { |