Revision 01f4895c libavformat/ogg.c

View differences:

libavformat/ogg.c
39 39
    ogg_stream_init(&context->os, 31415);
40 40
    
41 41
    for(n = 0 ; n < avfcontext->nb_streams ; n++) {
42
        AVCodecContext *codec = &avfcontext->streams[n]->codec;
42
        AVCodecContext *codec = avfcontext->streams[n]->codec;
43 43
        uint8_t *p= codec->extradata;
44 44
        
45 45
        av_set_pts_info(avfcontext->streams[n], 60, 1, AV_TIME_BASE);
......
65 65
static int ogg_write_packet(AVFormatContext *avfcontext, AVPacket *pkt)
66 66
{
67 67
    OggContext *context = avfcontext->priv_data ;
68
    AVCodecContext *avctx= &avfcontext->streams[pkt->stream_index]->codec;
68
    AVCodecContext *avctx= avfcontext->streams[pkt->stream_index]->codec;
69 69
    ogg_packet *op= &context->op;
70 70
    ogg_page og ;
71 71
    int64_t pts;

Also available in: Unified diff