[FFmpeg-devel] Adding a .c, and .h file to ffmpeg (Newbie)

Víctor Paesa wzrlpy
Sun Feb 22 11:46:11 CET 2009


Hi,

AliReza Khoshgoftar Monfared said:
> 1- add a .c and .h file to ffmpeg to have some functions as a part of
> ffmpeg so that by building ffmpeg, and including the .h file, I can use
> the functions.

OK, then you should use another mail list.
See http://www.ffmpeg.org/contact.html for details, and read carefully
the paragraph on netiquette.

> 2- Yes, Of course. But I have never creadted a library, and know almost
> nothing about the structure of ./configure files
>
> On Sun, Feb 22, 2009 at 1:46 AM, Mike Melanson <mike at multimedia.cx>
> wrote:
>
>> AliReza Khoshgoftar Monfared wrote:
>> > Dear All,
>> >
>> > I have been trying to add some new functions to ffmpeg.
>> >
>> > I wrote a .c, and a .h file (named them mylibav.c , mylibav.h)
>> >
>> > And for testing, just put a simple string function inside them.
>> >
>> > I put the files in the main ffmpeg directory,and put the statement
>> (#include
>> > "../mylibavutil.c") inside fifo.c, and (#include "../mylibav.h")
>> inside fifo.h.
>> >
>> > Then I added the line "../mylibav.h" into fifo.d
>> >
>> > Though these, I still have make errors with avutil-49.dll (trying to
>> do
>> it
>> > under mingw btw)
>> >
>> > Can you help me, what I am still missing?
>>
>> A few questions:
>>
>> 1. What exactly are you trying to accomplish?
>> 2. Have you ever programmed C before?

Regards,
V?ctor






More information about the ffmpeg-devel mailing list