h264: return index in buffer on end-of-sequence.
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 31 Dec 2011 17:12:53 +0000 (09:12 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 4 Jan 2012 03:50:22 +0000 (19:50 -0800)
commit400ba1d735ada65c56b1804bcc002a5cd479433b
tree9ab9c0b47bf812c067cd6acd837684032aa436d4
parent54e68fb3b89247084dfaeb3697a18f8ba92c5ea5
h264: return index in buffer on end-of-sequence.

Fixes hangs if the last packet contains an end-of-sequence NAL unit,
bug 158.
libavcodec/h264.c