Revision f0a86769

View differences:

libavformat/dv.h
37 37
void dv_offset_reset(DVDemuxContext *c, int64_t frame_offset);
38 38

  
39 39
typedef struct DVMuxContext DVMuxContext;
40
DVMuxContext* dv_init_mux(AVFormatContext* s);
41
int dv_assemble_frame(DVMuxContext *c, AVStream*, uint8_t*, int, uint8_t**);
42
void dv_delete_mux(DVMuxContext*);
43 40

  
44 41
#endif /* AVFORMAT_DV_H */
libavformat/dvenc.c
232 232
 * The following 3 functions constitute our interface to the world
233 233
 */
234 234

  
235
int dv_assemble_frame(DVMuxContext *c, AVStream* st,
236
                      uint8_t* data, int data_size, uint8_t** frame)
235
static int dv_assemble_frame(DVMuxContext *c, AVStream* st,
236
                             uint8_t* data, int data_size, uint8_t** frame)
237 237
{
238 238
    int i, reqasize;
239 239

  
......
285 285
    return 0;
286 286
}
287 287

  
288
DVMuxContext* dv_init_mux(AVFormatContext* s)
288
static DVMuxContext* dv_init_mux(AVFormatContext* s)
289 289
{
290 290
    DVMuxContext *c = s->priv_data;
291 291
    AVStream *vst = NULL;
......
354 354
    return NULL;
355 355
}
356 356

  
357
void dv_delete_mux(DVMuxContext *c)
357
static void dv_delete_mux(DVMuxContext *c)
358 358
{
359 359
    int i;
360 360
    for (i=0; i < c->n_ast; i++)
361 361
        av_fifo_free(c->audio_data[i]);
362 362
}
363 363

  
364
#if CONFIG_DV_MUXER
365 364
static int dv_write_header(AVFormatContext *s)
366 365
{
367 366
    if (!dv_init_mux(s)) {
......
412 411
    dv_write_packet,
413 412
    dv_write_trailer,
414 413
};
415
#endif /* CONFIG_DV_MUXER */

Also available in: Unified diff