rtpdec_h263_rfc2190: Clear the stored bits if discarding buffered data
authorMartin Storsjö <martin@martin.st>
Wed, 17 Dec 2014 11:50:06 +0000 (13:50 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 12 Jan 2015 22:14:38 +0000 (23:14 +0100)
commitcbf31d5f15774b3ffd1e2009159dc7154a767b09
tree022ca5101b47b8b4fb2301e6886b3411d97f47a0
parent21683549edf436024cc3efbc4f8d1d55221c5336
rtpdec_h263_rfc2190: Clear the stored bits if discarding buffered data

If we throw away the buffered incomplete frame, make sure to also
throw away the buffered bits of an incomplete byte at the same
time.

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit df07c07b3de0a5e8890078944de1eb5cb8372ef8)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/rtpdec_h263_rfc2190.c