[Ffmpeg-devel] PixelFormat error

Chang Min Jeon jcm1981
Tue Jun 21 16:03:27 CEST 2005


I'm trying to encode mpeg1.

int saveTofile()
{
AVCodecContext *c = NULL;

....

....

....

c->get_format = PIX_FMT_YUV420P;
...
}

error message :
error: cannot convert `PixelFormat' to `PixelFormat (*)(AVCodecContext*, 
const PixelFormat*)' in assignment

I can't understand that error message.




More information about the ffmpeg-devel mailing list