Mercurial > mplayer.hg
comparison libmpdemux/demux_lavf.c @ 29917:fef2308ae98e
av_alloc_format_context -> avformat_alloc_context
author | reimar |
---|---|
date | Sun, 22 Nov 2009 14:15:41 +0000 |
parents | 74ebb2b03d90 |
children | 4f740437ed2b |
comparison
equal
deleted
inserted
replaced
29916:dd9272344d74 | 29917:fef2308ae98e |
---|---|
430 | 430 |
431 memset(&ap, 0, sizeof(AVFormatParameters)); | 431 memset(&ap, 0, sizeof(AVFormatParameters)); |
432 | 432 |
433 stream_seek(demuxer->stream, 0); | 433 stream_seek(demuxer->stream, 0); |
434 | 434 |
435 avfc = av_alloc_format_context(); | 435 avfc = avformat_alloc_context(); |
436 | 436 |
437 if (opt_cryptokey) | 437 if (opt_cryptokey) |
438 parse_cryptokey(avfc, opt_cryptokey); | 438 parse_cryptokey(avfc, opt_cryptokey); |
439 if (user_correct_pts != 0) | 439 if (user_correct_pts != 0) |
440 avfc->flags |= AVFMT_FLAG_GENPTS; | 440 avfc->flags |= AVFMT_FLAG_GENPTS; |