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

« back to all changes in this revision

Viewing changes to gst-libs/ext/libav/libavcodec/put_bits.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2013-07-13 11:39:37 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20130713113937-46ye1u0rcmfbxs7e
Tags: 1.0.8-1
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
}
74
74
 
75
75
/**
 
76
 * @return the number of bits available in the bitstream.
 
77
 */
 
78
static inline int put_bits_left(PutBitContext* s)
 
79
{
 
80
    return (s->buf_end - s->buf_ptr) * 8 - 32 + s->bit_left;
 
81
}
 
82
 
 
83
/**
76
84
 * Pad the end of the output stream with zeros.
77
85
 */
78
86
static inline void flush_put_bits(PutBitContext *s)