h264: ensure that get_format() is called when changing format but not otherwise.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 21 Feb 2013 01:46:02 +0000 (02:46 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 21 Feb 2013 21:36:33 +0000 (22:36 +0100)
commit04220b473e9d7b22d737405348f9904f22bcfb96
treee8942eea1f5d25864adfbc3e4a425b79c244b81e
parent8d8c59480e1bbffb290b0790a7af378447c7f1fd
h264: ensure that get_format() is called when changing format but not otherwise.

Fixes Ticket2288

Tested-by: Stefano Pigozzi <stefano.pigozzi@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c