hey guys,
I got ffmpeg lib compiled correctly (or it seems to) in XCode, resulting in a .a file.
I imported the lib in a fresh new project but when I tried to compile it, I get this error :
Code:
"_gDesiredBitRate", referenced from:
_gDesiredBitRate$non_lazy_ptr in libffmpegLib.a(rtsp.o)
(maybe you meant: _gDesiredBitRate$non_lazy_ptr)
"_Status_SetNewStatusByKey", referenced from:
_tcp_read in libffmpegLib.a(tcp.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
I have no clue how to solve this. Help me fix please, I'm from few inches to get this compiled correctly I think ...
Thanks in advance
UPDATE :
just figured out that I was calling a function av_register_all(); from the ffmpeg API
when I comment it, it compiles with no prob
So the error is due to that call
Any idea ?