lavc/ccaption_dec: reap_screen() is responsible for clearing output buffer and signal...
authorAman Gupta <aman@tmm1.net>
Tue, 5 Jan 2016 22:53:29 +0000 (14:53 -0800)
committerClément Bœsch <u@pkh.me>
Fri, 8 Jan 2016 19:23:47 +0000 (20:23 +0100)
commit53ee84f811c3a3e55c688116d41310e76d285d9e
tree8d43937af45cec8a323f56215ca96acd6d0e8e36
parentdc79824deb6ac0ce236589c618744b33629201cd
lavc/ccaption_dec: reap_screen() is responsible for clearing output buffer and signaling screen_changed

moves the screen_changed bit and the bprint_clear into reap_screen() so
the logic is centralized and callers do not need to touch the bit or the
buffer before calling reap_screen()
libavcodec/ccaption_dec.c