Revision e4141433 libavformat/dvenc.c

View differences:

libavformat/dvenc.c
283 283

  
284 284
DVMuxContext* dv_init_mux(AVFormatContext* s)
285 285
{
286
    DVMuxContext *c = (DVMuxContext *)s->priv_data;
286
    DVMuxContext *c = s->priv_data;
287 287
    AVStream *vst = NULL;
288 288
    int i;
289 289

  
......
373 373
    uint8_t* frame;
374 374
    int fsize;
375 375

  
376
    fsize = dv_assemble_frame((DVMuxContext *)s->priv_data, s->streams[pkt->stream_index],
376
    fsize = dv_assemble_frame(s->priv_data, s->streams[pkt->stream_index],
377 377
                              pkt->data, pkt->size, &frame);
378 378
    if (fsize > 0) {
379 379
        put_buffer(&s->pb, frame, fsize);
......
390 390
 */
391 391
static int dv_write_trailer(struct AVFormatContext *s)
392 392
{
393
    dv_delete_mux((DVMuxContext *)s->priv_data);
393
    dv_delete_mux(s->priv_data);
394 394
    return 0;
395 395
}
396 396
#endif /* CONFIG_MUXERS */

Also available in: Unified diff