~siretart/libav/merge.raring.libav-0.8.6

« back to all changes in this revision

Viewing changes to libavformat/oggparsevorbis.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2012-01-12 22:30:00 UTC
  • mfrom: (1.4.1)
  • mto: (1.3.11 sid) (26.1.1 quantal-security)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: package-import@ubuntu.com-20120112223000-s1reiy1e28hnix42
Tags: upstream-0.8~beta2
ImportĀ upstreamĀ versionĀ 0.8~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        if (sscanf(val, "%02d:%02d:%02d.%03d", &h, &m, &s, &ms) < 4)
46
46
            return 0;
47
47
 
48
 
        ff_new_chapter(as, cnum, (AVRational){1,1000},
 
48
        avpriv_new_chapter(as, cnum, (AVRational){1,1000},
49
49
                       ms + 1000*(s + 60*(m + 60*h)),
50
50
                       AV_NOPTS_VALUE, NULL);
51
51
        av_free(val);
254
254
 
255
255
        if (srate > 0) {
256
256
            st->codec->sample_rate = srate;
257
 
            av_set_pts_info(st, 64, 1, srate);
 
257
            avpriv_set_pts_info(st, 64, 1, srate);
258
258
        }
259
259
    } else if (os->buf[os->pstart] == 3) {
260
260
        if (os->psize > 8 &&