What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Coding some c. (FFmpeg/libavcodec)

Coding some c. (FFmpeg/libavcodec)
Author: Message:
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
O.P. Coding some c. (FFmpeg/libavcodec)
I'm trying to put in libavcodec but the compiler (gcc) is always saying "undefined reference to `avcodec_init'" or any other avcodec function :/

Everything compiles properly but it just comes to a stop when I call a libavcodec function.

Everything is set up properly I hope..

C code:
#include <stdio.h>
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
 
int main(){
// example code .. but i hope you know what i mean
avcodec_init();
av_register_all();
}


If anyone can help me that would be great :happy:

My makefile has the -lavcodec and -lavformat in it.
I searched Google for two hours...

This post was edited on 02-04-2009 at 07:44 AM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
02-04-2009 07:41 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Coding some c. (FFmpeg/libavcodec) - by roflmao456 on 02-04-2009 at 07:41 AM
RE: Coding some c. (FFmpeg/libavcodec) - by roflmao456 on 02-06-2009 at 01:36 AM
RE: Coding some c. (FFmpeg/libavcodec) - by TheSteve on 02-09-2009 at 01:03 AM
RE: Coding some c. (FFmpeg/libavcodec) - by roflmao456 on 02-09-2009 at 05:12 AM
RE: Coding some c. (FFmpeg/libavcodec) - by TheSteve on 02-09-2009 at 03:01 PM
RE: Coding some c. (FFmpeg/libavcodec) - by roflmao456 on 02-12-2009 at 03:18 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On