Revision f3a30e3a

View differences:

libavcodec/adx.c
267 267
    return (p[0]<<24)|(p[1]<<16)|(p[2]<<8)|p[3];
268 268
}
269 269

  
270
int is_adx(const unsigned char *buf,size_t bufsize)
270
static int is_adx(const unsigned char *buf,size_t bufsize)
271 271
{
272 272
    int    offset;
273 273

  
libavcodec/avcodec.h
2530 2530
void *av_mallocz_static(unsigned int size);
2531 2531
void *av_realloc_static(void *ptr, unsigned int size);
2532 2532

  
2533
/* add by bero : in adx.c */
2534
int is_adx(const unsigned char *buf,size_t bufsize);
2535

  
2536 2533
void img_copy(AVPicture *dst, const AVPicture *src,
2537 2534
              int pix_fmt, int width, int height);
2538 2535

  
libavformat/avformat.h
81 81
    int64_t val, num, den;
82 82
} AVFrac;
83 83

  
84
void av_frac_init(AVFrac *f, int64_t val, int64_t num, int64_t den);
85
void av_frac_add(AVFrac *f, int64_t incr);
86
void av_frac_set(AVFrac *f, int64_t val);
87

  
88 84
/*************************************************/
89 85
/* input/output formats */
90 86

  
libavformat/utils.c
26 26
 * Various utility functions for using ffmpeg library.
27 27
 */
28 28

  
29
static void av_frac_init(AVFrac *f, int64_t val, int64_t num, int64_t den);
30
static void av_frac_add(AVFrac *f, int64_t incr);
31
static void av_frac_set(AVFrac *f, int64_t val);
32

  
29 33
/** head of registered input format linked list. */
30 34
AVInputFormat *first_iformat = NULL;
31 35
/** head of registered output format linked list. */
......
3147 3151
 * @param num must be >= 0
3148 3152
 * @param den must be >= 1
3149 3153
 */
3150
void av_frac_init(AVFrac *f, int64_t val, int64_t num, int64_t den)
3154
static void av_frac_init(AVFrac *f, int64_t val, int64_t num, int64_t den)
3151 3155
{
3152 3156
    num += (den >> 1);
3153 3157
    if (num >= den) {
......
3162 3166
/**
3163 3167
 * Set f to (val + 0.5).
3164 3168
 */
3165
void av_frac_set(AVFrac *f, int64_t val)
3169
static void av_frac_set(AVFrac *f, int64_t val)
3166 3170
{
3167 3171
    f->val = val;
3168 3172
    f->num = f->den >> 1;
......
3174 3178
 * @param f fractional number
3175 3179
 * @param incr increment, can be positive or negative
3176 3180
 */
3177
void av_frac_add(AVFrac *f, int64_t incr)
3181
static void av_frac_add(AVFrac *f, int64_t incr)
3178 3182
{
3179 3183
    int64_t num, den;
3180 3184

  

Also available in: Unified diff