avcodec/h264: call flush_change() on init
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 10 Oct 2013 00:25:51 +0000 (02:25 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 10 Oct 2013 00:25:51 +0000 (02:25 +0200)
commit65c2fe7159f7521bf694b3990a148c71166e38ac
tree5120f058d40515dccd5ba726cd381b18de6fc6aa
parent5ac6b6028f17b64723884c9fa72cfcbd369a1ba2
avcodec/h264: call flush_change() on init

This ensures that all the non zero fields get setup correctly.
Alternatively their initialization could be duplicated.

Fixes Ticket2738

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c