summaryrefslogtreecommitdiff
path: root/apps/codecs/libasf
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libasf')
-rw-r--r--apps/codecs/libasf/asf.c4
-rw-r--r--apps/codecs/libasf/asf.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/apps/codecs/libasf/asf.c b/apps/codecs/libasf/asf.c
index e3fffe6ee0..18503218b7 100644
--- a/apps/codecs/libasf/asf.c
+++ b/apps/codecs/libasf/asf.c
@@ -49,7 +49,7 @@ static unsigned short get_short_le(void* buf)
49 0 : *(data) : get_short_le(data) : get_long_le(data)) 49 0 : *(data) : get_short_le(data) : get_long_le(data))
50 50
51int asf_read_packet(uint8_t** audiobuf, int* audiobufsize, int* packetlength, 51int asf_read_packet(uint8_t** audiobuf, int* audiobufsize, int* packetlength,
52 asf_waveformatex_t* wfx, struct codec_api* ci) 52 asf_waveformatex_t* wfx)
53{ 53{
54 uint8_t tmp8, packet_flags, packet_property; 54 uint8_t tmp8, packet_flags, packet_property;
55 int stream_id; 55 int stream_id;
@@ -291,7 +291,7 @@ int asf_read_packet(uint8_t** audiobuf, int* audiobufsize, int* packetlength,
291} 291}
292 292
293 293
294int asf_get_timestamp(int *duration, struct codec_api* ci) 294int asf_get_timestamp(int *duration)
295{ 295{
296 uint8_t tmp8, packet_flags, packet_property; 296 uint8_t tmp8, packet_flags, packet_property;
297 int ec_length, opaque_data, ec_length_type; 297 int ec_length, opaque_data, ec_length_type;
diff --git a/apps/codecs/libasf/asf.h b/apps/codecs/libasf/asf.h
index 2007e08e86..7ea57c5f65 100644
--- a/apps/codecs/libasf/asf.h
+++ b/apps/codecs/libasf/asf.h
@@ -36,11 +36,11 @@ struct asf_waveformatex_s {
36typedef struct asf_waveformatex_s asf_waveformatex_t; 36typedef struct asf_waveformatex_s asf_waveformatex_t;
37 37
38/* Define the packet-specific functions only for codecs not for metadata parsers */ 38/* Define the packet-specific functions only for codecs not for metadata parsers */
39#ifdef __CODECLIB_H__ 39
40int asf_read_packet(uint8_t** audiobuf, int* audiobufsize, int* packetlength, 40int asf_read_packet(uint8_t** audiobuf, int* audiobufsize, int* packetlength,
41 asf_waveformatex_t* wfx, struct codec_api* ci); 41 asf_waveformatex_t* wfx);
42 42
43int asf_get_timestamp(int *duration, struct codec_api* ci); 43int asf_get_timestamp(int *duration);
44#endif 44
45 45
46#endif /* _ASF_H */ 46#endif /* _ASF_H */