Reset buffered frames count on encoding failure.
Reset buffered frames count on encoding failure.

Previously we didn't do so but still discarded the buffer
the count belonged to. This means the encoder would
assume invalid buffered frame count when a previous
encoding run failed.

Keridos/mumble,austinliou/mumble,SuperNascher/mumble,unascribed/mumble,Githlar/mumble,Natenom/mumble,bheart/mumble,Keridos/mumble,Zopieux/mumble,ccpgames/mumble,SuperNascher/mumble,richard227/mumble,austinliou/mumble,niko20010/mumble,unascribed/mumble,Keridos/mumble,Keridos/mumble,Githlar/mumble,mbax/mumble,SuperNascher/mumble,Zopieux/mumble,Lartza/mumble,Natenom/mumble,Natenom/mumble,Zopieux/mumble,richard227/mumble,ccpgames/mumble,mbax/mumble,richard227/mumble,Keridos/mumble,niko20010/mumble,LuAPi/mumble,austinliou/mumble,mbax/mumble,LuAPi/mumble,Lartza/mumble,SuperNascher/mumble,mbax/mumble,richard227/mumble,austinliou/mumble,richard227/mumble,Natenom/mumble,niko20010/mumble,LuAPi/mumble,austinliou/mumble,Lartza/mumble,bheart/mumble,Zopieux/mumble,bheart/mumble,Natenom/mumble,unascribed/mumble,Natenom/mumble,unascribed/mumble,bheart/mumble,austinliou/mumble,feld/mumble,SuperNascher/mumble,Keridos/mumble,Lartza/mumble,Natenom/mumble,feld/mumble,LuAPi/mumble,feld/mumble,niko20010/mumble,niko20010/mumble,Lartza/mumble,LuAPi/mumble,feld/mumble,richard227/mumble,feld/mumble,bheart/mumble,Githlar/mumble,Githlar/mumble,LuAPi/mumble,LuAPi/mumble,feld/mumble,mbax/mumble,niko20010/mumble,Zopieux/mumble,niko20010/mumble,SuperNascher/mumble,mbax/mumble,Lartza/mumble,unascribed/mumble,SuperNascher/mumble,Natenom/mumble,bheart/mumble,Githlar/mumble,mbax/mumble,Githlar/mumble,feld/mumble,LuAPi/mumble,mbax/mumble,ccpgames/mumble,austinliou/mumble,unascribed/mumble,Githlar/mumble,Lartza/mumble,Lartza/mumble,LuAPi/mumble,feld/mumble,Zopieux/mumble,richard227/mumble,ccpgames/mumble,ccpgames/mumble,Githlar/mumble,ccpgames/mumble,bheart/mumble,niko20010/mumble,Keridos/mumble,unascribed/mumble,ccpgames/mumble,Zopieux/mumble,unascribed/mumble,bheart/mumble,SuperNascher/mumble,ccpgames/mumble,SuperNascher/mumble,austinliou/mumble,richard227/mumble,Keridos/mumble,Zopieux/mumble