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>
Thu, 26 Nov 2015 00:37:33 +0000 (01:37 +0100)
commit48e86b69619cc33a27c8188c42b653ee753a4be8
treeb2db2233bd0fdebf6e5563d620c8c2a8deda3e26
parentb7d1bbe139f49ae09c2dd5329a3c92f732648119
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>
(cherry picked from commit 047bf82c181c1220b3087b37f28445f8b87a7a23)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/mxfdec.c