On Apr 10, 2012, at 04:11 , Jeremy Graham wrote:

> I did try using avcodec_open2 as well but I still got a seg fault out of it. 
> I set the third parameter to NULL, however.  Is that what I am doing wrong?

No, NULL is ok there.

Try setting these 2 values before you open the codec:

c->codec_id   = codec->id;
c->codec_type = AVMEDIA_TYPE_VIDEO ;

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to