f7c0a42335
from Brad
22 lines
672 B
Plaintext
22 lines
672 B
Plaintext
$OpenBSD: patch-avilib_avidump_c,v 1.1 2012/05/03 06:06:59 ajacoutot Exp $
|
|
--- avilib/avidump.c.orig Sat Nov 19 11:50:27 2011
|
|
+++ avilib/avidump.c Mon Apr 30 04:36:10 2012
|
|
@@ -320,7 +320,7 @@ static void dump_vals(int fd, int count, struct VAL *n
|
|
{
|
|
uint32_t i,j,val32;
|
|
uint16_t val16;
|
|
- loff_t val64;
|
|
+ off_t val64;
|
|
char val8;
|
|
|
|
for (i = 0; names[i].type != EoLST; i++) {
|
|
@@ -605,7 +605,7 @@ static boolean ProcessChunk(int fd, off_t filepos, off
|
|
|
|
case indxtag: {
|
|
uint32_t chunks=*chunksize-sizeof(names_indx)/sizeof(char*);
|
|
- loff_t offset;
|
|
+ off_t offset;
|
|
uint32_t size, duration;
|
|
uint32_t u=0;
|
|
off_t indxend = datapos + chunks;
|