search for: extra_hdr_byt

Displaying 1 result from an estimated 1 matches for "extra_hdr_byt".

Did you mean: extra_hdr_bytes
2004 Oct 27
1
Fix for Theora example encoder
...: encoder_example.c =================================================================== --- encoder_example.c (revision 8113) +++ encoder_example.c (working copy) @@ -133,6 +133,7 @@ unsigned char buffer[80]; int ret; int tmp_video_hzn, tmp_video_hzd, tmp_video_an, tmp_video_ad; + int extra_hdr_bytes; /* open it, look for magic */ @@ -179,6 +180,9 @@ ret=fread(buffer,1,20,test); if(ret<20)goto riff_err; + extra_hdr_bytes = (buffer[0] + (buffer[1] << 8) + + (buffer[2] << 16) + (buffer[3] << 24)) - 16; +...