Originally committed as revision 11532 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Abeni authored on 2008/01/15 17:05:58... | ... |
@@ -21,7 +21,7 @@ |
21 | 21 |
#include "avformat.h" |
22 | 22 |
#include "avio.h" |
23 | 23 |
|
24 |
-static uint8_t *avc_find_startcode( uint8_t *p, uint8_t *end ) |
|
24 |
+uint8_t *ff_avc_find_startcode(uint8_t *p, uint8_t *end) |
|
25 | 25 |
{ |
26 | 26 |
uint8_t *a = p + 4 - ((long)p & 3); |
27 | 27 |
|
... | ... |
@@ -68,10 +68,10 @@ int ff_avc_parse_nal_units(uint8_t *buf_in, uint8_t **buf, int *size) |
68 | 68 |
if(ret < 0) |
69 | 69 |
return ret; |
70 | 70 |
|
71 |
- nal_start = avc_find_startcode(p, end); |
|
71 |
+ nal_start = ff_avc_find_startcode(p, end); |
|
72 | 72 |
while (nal_start < end) { |
73 | 73 |
while(!*(nal_start++)); |
74 |
- nal_end = avc_find_startcode(nal_start, end); |
|
74 |
+ nal_end = ff_avc_find_startcode(nal_start, end); |
|
75 | 75 |
put_be32(pb, nal_end - nal_start); |
76 | 76 |
put_buffer(pb, nal_start, nal_end - nal_start); |
77 | 77 |
nal_start = nal_end; |