move jump_buf to header file

move jump_buf to header file
pull/166/head
xufulong 5 years ago
parent 00860718b1
commit a1b818e644
  1. 4
      app/src/main/cpp/ffmpeg/cmdutils.c
  2. 4
      app/src/main/cpp/ffmpeg/cmdutils.h

@ -64,10 +64,6 @@
#include <windows.h> #include <windows.h>
#endif #endif
#include <setjmp.h>
extern jmp_buf jump_buf;
static int init_report(const char *env); static int init_report(const char *env);
AVDictionary *sws_dict; AVDictionary *sws_dict;

@ -34,6 +34,10 @@
#undef main /* We don't want SDL to override our main() */ #undef main /* We don't want SDL to override our main() */
#endif #endif
#include <setjmp.h>
extern jmp_buf jump_buf;
/** /**
* program name, defined by the program for show_version(). * program name, defined by the program for show_version().
*/ */

Loading…
Cancel
Save