]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/timecode.c
zmbv: remove unused variable
[ffmpeg] / libavcodec / timecode.c
index 2e0f4a489b88b7edeb5cebddf70b4eda5f0563c0..f9862e55818407293f1684411c35e9c14d0778ee 100644 (file)
 /**
  * @file
  * Timecode helpers
+ * This *private* API is deprecated, please use the one available in libavutil instead.
  */
 
+#include "version.h"
+
+#if FF_API_OLD_TIMECODE
+
 #include <stdio.h>
 #include "timecode.h"
 #include "libavutil/log.h"
@@ -128,7 +133,6 @@ int avpriv_init_smpte_timecode(void *avcl, struct ff_timecode *tc)
     return 0;
 }
 
-#if FF_API_OLD_TIMECODE
 int ff_framenum_to_drop_timecode(int frame_num)
 {
     return avpriv_framenum_to_drop_timecode(frame_num);