 Re: Customized rtmpdump binaries with patch file
Hello, K-S-V san,
I have one issue with your patch.
In fact, it is also a issue of liborc. liborc is used in dirac schroedinger.
If I apply your patch with git repository of rtmpdump, and build it as static library, it occurs ffmpeg build error. Like following:
LD ffmpeg_g
LD ffplay_g
LD ffprobe_g
duplicate symbol _strsplit in:
/Volumes/ffmpeg_compile/lib/librtmp.a(rtmp.o)
/Volumes/ffmpeg_compile/lib/liborc-0.4.a(liborc_0.4_la-orcutils.o)
duplicate symbol _strsplit in:
/Volumes/ffmpeg_compile/lib/librtmp.a(rtmp.o)
/Volumes/ffmpeg_compile/lib/liborc-0.4.a(liborc_0.4_la-orcutils.o)
ld: 1 duplicate symbol for architecture x86_64
duplicate symbol _strsplit in:
/Volumes/ffmpeg_compile/lib/librtmp.a(rtmp.o)
/Volumes/ffmpeg_compile/lib/liborc-0.4.a(liborc_0.4_la-orcutils.o)
I searched your patch and found string "strsplit" (function name?)
I also tried to build ffmpeg with --enable-libschroedinger --enable-librtmp option, but never applied your patch, then above error does not occurred.
So from here it's a kind of trade. Do you mind changing name of "strsplit" to some other?
Or should I build rtmpdump without your patch? i.e. in the view of using rtmpdump with ffmpeg, your patch is worth to apply or not?
Please consider...
|