h264: avoid calling get_format() multiple times
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 17 Feb 2013 19:41:16 +0000 (20:41 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 17 Feb 2013 21:26:33 +0000 (22:26 +0100)
commitdece584a639c9fd61a72e21800815e8397b3b617
treeb703c1000bbd8ff09c7d2d33f52711171453f9cf
parent8d0757e1079f588ed69f629e2d1a4d5f232dc298
h264: avoid calling get_format() multiple times

Some applications do not like that.
Fixes VDA
Reduces noise for VDPAU

Tested-by: Guillaume POIRIER <poirierg@gmail.com>
Tested-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c