You are not logged in.

#1 2006-10-08 12:43:22

quetzyg
Member
From: /home/quetzyg
Registered: 2006-08-03
Posts: 130

Current ffmpeg API is causing compile errors!

Hi there folks!

With the current ffmpeg version (20060920-1), I get errors while trying to use the API on my C programs.

#include <ffmpeg>
#include <ffmpeg>

These two include lines are enough to have errors like this:

/usr/include/ffmpeg/common.h:203: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/ffmpeg/common.h:221: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/ffmpeg/common.h:236: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/ffmpeg/common.h:284: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/ffmpeg/common.h:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint8_t'
/usr/include/ffmpeg/common.h:308: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'

With the previous version, this didn't happen. Bad header files, maybe?

Note that the two include lines are not wrong. Is the forum that cuts everything between the / (slash) and the > (greater than symbol)
After each line, it should read avcodec.h and avformat.h respectively.

Cheers,
Quetzy Garcia


ZzZz...

Offline

Board footer

Powered by FluxBB