>Hi to all,
>I have a AVFormatContext * m_context; as private member of my encoder class
>named MovieRecorder.
>This piece of code give me a segmentation fault:
>
>    // allocate output media context
>    assert( !m_context );
>    m_context = av_alloc_format_context();
>    if ( !m_context ) {
>        LOG_ERR("MovieRecorderBase::FFmpegOpenMovie(): Cannot allocate
>format context.");
>        return;
>        }
>
>This is done in a routine.
>The assert already cause the termination of my program and If I comment it I
>get a segmentation fault from av_alloc_format_context();

What kind of architecture are you using (OS, uP)? 
Did you compiled source code from repository? 
If yes, witch compiler did you used?


Francesco Pellegrino.

<<winmail.dat>>

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to