ffplay: Separate AVFrame from AVSubtitle
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 26 Sep 2014 16:11:16 +0000 (18:11 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 27 Sep 2014 01:54:36 +0000 (03:54 +0200)
commit2ec4a84dca603a24a8131297036dfe30eed33dd7
tree195f099c294726128f262ceda733779f8531106c
parentbe5dd8aa5558cabe256c78de0ec8063f5810b96f
ffplay: Separate AVFrame from AVSubtitle

This is more robust and should avoid false positives in coverity
That is if the type is ever mixed up, after this patch that would
just be a null pointer dereference instead of a random possibly
out of array access

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