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

« back to all changes in this revision

Viewing changes to libavcodec/roqvideodec.c

  • Committer: Reinhard Tartler
  • Date: 2013-03-27 06:53:14 UTC
  • mfrom: (1.3.32 sid)
  • Revision ID: siretart@tauware.de-20130327065314-fs4shpt6y2h46ekf
first merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    roq_qcell *qcell;
44
44
    int64_t chunk_start;
45
45
 
46
 
    while (bytestream2_get_bytes_left(&ri->gb) > 0) {
 
46
    while (bytestream2_get_bytes_left(&ri->gb) >= 8) {
47
47
        chunk_id = bytestream2_get_le16(&ri->gb);
48
48
        chunk_size = bytestream2_get_le32(&ri->gb);
49
49
        chunk_arg = bytestream2_get_le16(&ri->gb);