Thanks again, sometimes a fresh look can help a lot, e.g. rubber duck debugging (http://en.wikipedia.org/wiki/Rubber_duck_debugging) :-))
C On Mon, Jun 22, 2009 at 6:32 PM, Tyler Laing <[email protected]> wrote: > Just a simple general coding knowledge issue. Otherwise I couldn't answer > other kinds of questions on here if I tried ;) > > On Mon, Jun 22, 2009 at 3:40 PM, Cuneyt Taskiran <[email protected] > >wrote: > > > Thanks a lot, IT WORKS! This is really a Kodak moment for me since I > wasted > > a week on this stupid problem. I will take a look at the links you sent, > > however, for starters I deleted the old version of the library in > > /usr/lib/. > > I have no idea where the old version came from, when I delete it and > > rebuild > > ffmpeg, it doesn't reappear. Must be an error with the configure script > or > > the Make file. > > > > You totally made my day :-) > > > > C > > > > On Mon, Jun 22, 2009 at 4:54 PM, Tyler Laing <[email protected]> > wrote: > > > > > Try using ldd on the executable produced, then make sure that the > > libraries > > > listed are the ones you want loaded. > > > > > > -Tyler > > > > > > On Mon, Jun 22, 2009 at 2:51 PM, Cuneyt Taskiran <[email protected] > > > >wrote: > > > > > > > I have an issue with opening a stream, that I tracked down to > > > > open_input_file(). I have added a printf statement to the > > > open_input_file() > > > > function in utils.c and recompiled & reinstalled ffmpeg. Now, when I > > run > > > > command line ffmpeg, I see the message as expected. However, when I > run > > > my > > > > simple program that just calls open_input_file(), the message is not > > > > displayed! > > > > > > > > How can command line ffmpeg and my program be using two different > sets > > of > > > > libraries? > > > > > > > > I compile my code using Eclipse with > > > > gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"main.d" > > -MT"main.d" > > > > -o"main.o" "../main.c" > > > > > > > > Thanks fo rthe help, > > > > > > > > Cuneyt > > > > _______________________________________________ > > > > libav-user mailing list > > > > [email protected] > > > > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > > > > > > > > > > > > > > > > -- > > > Visit my blog at http://oddco.ca/zeroth/zblog > > > _______________________________________________ > > > libav-user mailing list > > > [email protected] > > > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > > > > > _______________________________________________ > > libav-user mailing list > > [email protected] > > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > > > > > > -- > Visit my blog at http://oddco.ca/zeroth/zblog > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
