Click here to Skip to main content
15,890,399 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WaitForMultipleObjects not waiting Pin
wjeanveau9-Jun-08 14:36
wjeanveau9-Jun-08 14:36 
GeneralRe: WaitForMultipleObjects not waiting Pin
Joe Woodbury9-Jun-08 15:31
professionalJoe Woodbury9-Jun-08 15:31 
GeneralRe: WaitForMultipleObjects not waiting Pin
wjeanveau9-Jun-08 17:10
wjeanveau9-Jun-08 17:10 
Questionreading bits from file Pin
botnet9-Jun-08 11:06
botnet9-Jun-08 11:06 
AnswerRe: reading bits from file Pin
Jijo.Raj9-Jun-08 18:38
Jijo.Raj9-Jun-08 18:38 
GeneralRe: reading bits from file Pin
achainard10-Jun-08 2:45
achainard10-Jun-08 2:45 
GeneralRe: reading bits from file Pin
botnet10-Jun-08 13:09
botnet10-Jun-08 13:09 
AnswerRe: reading bits from file Pin
krmed10-Jun-08 6:08
krmed10-Jun-08 6:08 
I have to wonder if this structure is correct:
botnet wrote:
// header structure
struct TS_PACKET_HEADER {
unsigned int sync_byte:8;
unsigned int payload_unit_start_indicator:1;
unsigned int transport_error_indicator:1;
unsigned int transport_priority:1;
unsigned int PID:13;
unsigned int scrambling_control:2;
unsigned int adaptive_field_exists:2;
unsigned int payload_data_exists:1;
unsigned int continuity_counter:4;
};

The reason I ask is that it contains 33 bits, so it would read 8 bytes from the file.

Also, there are many types of MPEG - MP3, MP4, MPEG, etc.

You might want to check for the file format at www.wotsit.org

Perhaps there are supposed to be some padding bits in there somewhere?

Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

QuestionBlank printout to printer Pin
Joe Smith IX9-Jun-08 7:04
Joe Smith IX9-Jun-08 7:04 
AnswerRe: Blank printout to printer [modified] Pin
Nelek9-Jun-08 8:12
protectorNelek9-Jun-08 8:12 
GeneralRe: Blank printout to printer Pin
Joe Smith IX9-Jun-08 8:33
Joe Smith IX9-Jun-08 8:33 
GeneralRe: Blank printout to printer Pin
Nelek9-Jun-08 8:59
protectorNelek9-Jun-08 8:59 
GeneralRe: Blank printout to printer Pin
Joe Smith IX9-Jun-08 9:22
Joe Smith IX9-Jun-08 9:22 
GeneralRe: Blank printout to printer Pin
Nelek9-Jun-08 9:34
protectorNelek9-Jun-08 9:34 
GeneralRe: Blank printout to printer Pin
Joe Smith IX9-Jun-08 9:53
Joe Smith IX9-Jun-08 9:53 
GeneralRe: Blank printout to printer Pin
Nelek9-Jun-08 10:02
protectorNelek9-Jun-08 10:02 
GeneralRe: Blank printout to printer Pin
Joe Smith IX9-Jun-08 10:18
Joe Smith IX9-Jun-08 10:18 
GeneralRe: Blank printout to printer Pin
Nelek9-Jun-08 10:32
protectorNelek9-Jun-08 10:32 
GeneralRe: Blank printout to printer Pin
Joe Smith IX9-Jun-08 16:44
Joe Smith IX9-Jun-08 16:44 
GeneralRe: Blank printout to printer Pin
Nelek11-Jun-08 8:16
protectorNelek11-Jun-08 8:16 
NewsRe: Blank printout to printer Pin
bulg9-Jun-08 11:13
bulg9-Jun-08 11:13 
GeneralRe: Blank printout to printer Pin
bulg9-Jun-08 11:21
bulg9-Jun-08 11:21 
GeneralRe: Blank printout to printer Pin
Joe Smith IX9-Jun-08 16:29
Joe Smith IX9-Jun-08 16:29 
QuestionHelp me! Pin
youareabigboy9-Jun-08 6:03
youareabigboy9-Jun-08 6:03 
QuestionRe: Help me! Pin
CPallini9-Jun-08 6:57
mveCPallini9-Jun-08 6:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.