avcodec/h264_slice: Only call ff_h264_flush_change() on initialized contexts
authorJames Almer <jamrial@gmail.com>
Fri, 1 Jul 2016 18:59:41 +0000 (20:59 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 1 Jul 2016 19:39:09 +0000 (21:39 +0200)
commit77eb05a2f11f03c98837fa5350d17a8a1c5a2a3d
tree98180bf4e2afa3961cb6dc6c7c6c44c9a39348c8
parent92bf87db294c0544168f572ba6739db7d2ba2ba3
avcodec/h264_slice: Only call ff_h264_flush_change() on initialized contexts

Changed by committer to ensure context_initialized is reset
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264_slice.c