diff --git a/cmdutils.c b/cmdutils.c index d5a2cbea6b26c7ed710195d63c39b802b76f5869..050b9929847017f9a88463e92096029d94ac92e0 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -2249,6 +2249,9 @@ double get_rotation(AVStream *st) theta -= 360*floor(theta/360 + 0.9/360); + if (fabs(theta - 90*round(theta/90)) > 2) + av_log_ask_for_sample(NULL, "Odd rotation angle\n"); + return theta; }