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.