On 02/05/2012 11:20 AM, Aneesh Dogra wrote: > > Signed-off-by: Aneesh Dogra <lionane...@gmail.com> > --- > libavcodec/bytestream.h | 12 ++++++++++++ > 1 files changed, 12 insertions(+), 0 deletions(-)
you can squash this with patch #1 > diff --git a/libavcodec/bytestream.h b/libavcodec/bytestream.h > index 403b385..d6cc196 100644 > --- a/libavcodec/bytestream.h > +++ b/libavcodec/bytestream.h > @@ -252,6 +252,18 @@ static av_always_inline void > bytestream2_put_buffer(PutByteContext *p, const uin > p->buffer += size2; > } > > +static av_always_inline void bytestream2_set_buffer(PutByteContext *p, const > uint8_t key, unsigned int size) wrap the long line. "key" is a weird name to use here. > +{ > + int size2; > + if (p->eof) > + return; > + size2 = FFMIN(p->buffer_end - p->buffer, size); > + if (size2 != size) > + p->eof = 1; you should possibly also do this in the other similar functions. -Justin _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel