ffplay: avoid direct access to max_lowres use av_codec_get_max_lowres()
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 3 Oct 2013 14:59:11 +0000 (16:59 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 3 Oct 2013 20:38:23 +0000 (22:38 +0200)
commitb72040daad03686318c227f3d40c4cd12e9d9eb4
tree5dcbd581de10aef087ac67fc05593dea926179f0
parent5f99e6d632dabef3583156ab531a5d92aeaaaaae
ffplay: avoid direct access to max_lowres use av_codec_get_max_lowres()

This avoids future ABI issues when the field is moved to the end of the
struct.

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay.c