[FFmpeg-devel] [PATCH 2/2] mxfenc: small typo fix.

Clément Bœsch ubitux at gmail.com
Mon Jul 4 10:19:47 CEST 2011


From: Clément Bœsch <clement.boesch at smartjog.com>

---
 libavformat/mxfenc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index 0f230cb..d44e767 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -1549,7 +1549,7 @@ static uint32_t ff_framenum_to_12m_time_code(unsigned frame, int drop, int fps)
            ((((frame / (fps * 60)) % 60) / 10)   << 12) | // tens  of minutes
            ((((frame / (fps * 60)) % 60) % 10)   <<  8) | // units of minutes
            (0                                    <<  7) | // b1
-           (0                                    <<  6) | // b2 (NSC), field phase (PAL)
+           (0                                    <<  6) | // b2 (NTSC), field phase (PAL)
            ((((frame / (fps * 3600) % 24)) / 10) <<  4) | // tens  of hours
            (  (frame / (fps * 3600) % 24)) % 10;          // units of hours
 }
-- 
1.7.6



More information about the ffmpeg-devel mailing list