Displaying 1 result from an estimated 1 matches for "tmp_video_an".
Did you mean:
tmp_video_ad
2004 Oct 27
1
Fix for Theora example encoder
...ading that much data.
Aaron
Index: 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) + (b...