ffplay: compact expression in compute_mod()
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 2 May 2010 20:23:48 +0000 (22:23 +0200)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 11 Apr 2011 23:23:43 +0000 (01:23 +0200)
commit91b27e49d66b98d894506e653cbd5272fd776108
tree60b0b2dc36c5600dad2fab5b87ca8d0428e5dbc0
parent6873cf9bc8f3cb4959df51bdf79f079cee9a7006
ffplay: compact expression in compute_mod()

Prefer "return X ? Y : Z" over "if (x) return Y; else return Z",
reduce line count.

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
ffplay.c