~ubuntu-branches/ubuntu/trusty/gst-libav1.0/trusty

« back to all changes in this revision

Viewing changes to gst-libs/ext/libav/libavformat/nutdec.c

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge, Iain Lane, Sebastian Dröge
  • Date: 2014-02-09 11:42:06 UTC
  • mfrom: (13.2.1 sid)
  • Revision ID: package-import@ubuntu.com-20140209114206-ksn1eu97d9pt2iza
Tags: 1.2.3-1
[ Iain Lane ]
* Drop ltmain-as-needed patch and do the same with dh_autoreconf
  --as-needed.

[ Sebastian Dröge ]
* New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
526
526
    AVFormatContext *s = nut->avf;
527
527
    AVIOContext *bc    = s->pb;
528
528
    int64_t end, tmp;
 
529
    int ret;
529
530
 
530
531
    nut->last_syncpoint_pos = avio_tell(bc) - 8;
531
532
 
547
548
 
548
549
    *ts = tmp / s->nb_streams *
549
550
          av_q2d(nut->time_base[tmp % s->nb_streams]) * AV_TIME_BASE;
550
 
    ff_nut_add_sp(nut, nut->last_syncpoint_pos, *back_ptr, *ts);
 
551
 
 
552
    if ((ret = ff_nut_add_sp(nut, nut->last_syncpoint_pos, *back_ptr, *ts)) < 0)
 
553
        return ret;
551
554
 
552
555
    return 0;
553
556
}