Mercurial > libavformat.hg
comparison internal.h @ 6353:3f938b3a355a libavformat
Make hex_to_data a lavf internal function
This is useful for other future RTP depacketizers
author | mstorsjo |
---|---|
date | Mon, 09 Aug 2010 10:05:33 +0000 |
parents | 869753e625c4 |
children | 054de75e4a49 |
comparison
equal
deleted
inserted
replaced
6352:3472338a5e13 | 6353:3f938b3a355a |
---|---|
50 struct tm *brktimegm(time_t secs, struct tm *tm); | 50 struct tm *brktimegm(time_t secs, struct tm *tm); |
51 const char *small_strptime(const char *p, const char *fmt, | 51 const char *small_strptime(const char *p, const char *fmt, |
52 struct tm *dt); | 52 struct tm *dt); |
53 | 53 |
54 char *ff_data_to_hex(char *buf, const uint8_t *src, int size, int lowercase); | 54 char *ff_data_to_hex(char *buf, const uint8_t *src, int size, int lowercase); |
55 | |
56 /** | |
57 * Parse a string of hexadecimal strings. Any space between the hexadecimal | |
58 * digits is ignored. | |
59 * | |
60 * @param data if non-null, the parsed data is written to this pointer | |
61 * @param p the string to parse | |
62 * @return the number of bytes written (or to be written, if data is null) | |
63 */ | |
64 int ff_hex_to_data(uint8_t *data, const char *p); | |
55 | 65 |
56 void ff_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx); | 66 void ff_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx); |
57 | 67 |
58 /** | 68 /** |
59 * Add packet to AVFormatContext->packet_buffer list, determining its | 69 * Add packet to AVFormatContext->packet_buffer list, determining its |