I added "custom.c" to ffmpeg source directory and insert "OBJS-ffmpeg += 
ffmpeg_opt.o ffmpeg_filter.o custom.o" into Makefile file. I can compile the 
project.


Then, i used OpenMP in "custom.c", like this:

  #pragma omp parallel for

        for (int i = 0; i < 10; ++i)



I need "-fopenmp" to tell gcc to use OpenMP now. But where should I insert 
"-fopenmp" to?


Thanks a lost!^ ^
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to