]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/audio.c
Make avi and asf demuxer export palette in palctrl
[ffmpeg] / libavformat / audio.c
index 737b79cd1549b1e8904457b1d53e90d8ee4871ae..3662e458ffd0fc5e0080cae20108c04fee2e55a9 100644 (file)
@@ -37,7 +37,7 @@ typedef struct {
     int frame_size; /* in bytes ! */
     int codec_id;
     int flip_left : 1;
-    UINT8 buffer[AUDIO_BLOCK_SIZE];
+    uint8_t buffer[AUDIO_BLOCK_SIZE];
     int buffer_ptr;
 } AudioData;
 
@@ -165,7 +165,7 @@ static int audio_write_header(AVFormatContext *s1)
 }
 
 static int audio_write_packet(AVFormatContext *s1, int stream_index,
-                              UINT8 *buf, int size, int force_pts)
+                              const uint8_t *buf, int size, int64_t pts)
 {
     AudioData *s = s1->priv_data;
     int len, ret;