Revision 043d2ff2 libavcodec/w32thread.c

View differences:

libavcodec/w32thread.c
69 69
}
70 70

  
71 71
/**
72
 * Free what has been allocated by avcodec_thread_init().
72
 * Free what has been allocated by ff_thread_init().
73 73
 * Must be called after decoding has finished, especially do not call while avcodec_thread_execute() is running.
74 74
 */
75
void avcodec_thread_free(AVCodecContext *s){
75
void ff_thread_free(AVCodecContext *s){
76 76
    ThreadContext *c= s->thread_opaque;
77 77
    int i;
78 78

  
......
124 124
    avcodec_thread_execute(s, NULL, arg, ret, count, 0);
125 125
}
126 126

  
127
int avcodec_thread_init(AVCodecContext *s, int thread_count){
127
int ff_thread_init(AVCodecContext *s, int thread_count){
128 128
    int i;
129 129
    ThreadContext *c;
130 130
    uint32_t threadid;
......
169 169

  
170 170
    return 0;
171 171
fail:
172
    avcodec_thread_free(s);
172
    ff_thread_free(s);
173 173
    return -1;
174 174
}

Also available in: Unified diff