Revision 72415b2a libavformat/oggdec.c

View differences:

libavformat/oggdec.c
612 612

  
613 613
    // Try seeking to a keyframe first. If this fails (very possible),
614 614
    // av_seek_frame will fall back to ignoring keyframes
615
    if (s->streams[stream_index]->codec->codec_type == CODEC_TYPE_VIDEO
615
    if (s->streams[stream_index]->codec->codec_type == AVMEDIA_TYPE_VIDEO
616 616
        && !(flags & AVSEEK_FLAG_ANY))
617 617
        os->keyframe_seek = 1;
618 618

  

Also available in: Unified diff