mxfdec: check edit_rate also for physical_track
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 15 Nov 2015 16:46:08 +0000 (17:46 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Wed, 18 Nov 2015 22:54:24 +0000 (23:54 +0100)
commit047bf82c181c1220b3087b37f28445f8b87a7a23
tree633482ac723051ef6de72cb45dac5379f516ceba
parent6f37226b687f969bcf6e47a4fb5c28a32d107aa3
mxfdec: check edit_rate also for physical_track

Previously only the edit_rate of material_track was checked.
If it's negative, it causes assertion failures in av_rescale_rnd.

Reviewed-by: Tim Nicholson <nichot20-at-yahoo.com@ffmpeg.org>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/mxfdec.c