Browse Source

avconv: Make samples void*.

Different sample formats are different sizes.
Alex Converse 13 years ago
parent
commit
fe332cf5b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      avconv.c

+ 1 - 1
avconv.c

@@ -136,7 +136,7 @@ static uint8_t *audio_buf;
 static uint8_t *audio_out;
 static unsigned int allocated_audio_out_size, allocated_audio_buf_size;
 
-static short *samples;
+static void *samples;
 
 #define DEFAULT_PASS_LOGFILENAME_PREFIX "av2pass"