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();


Any help will be appreciated.
Regards
-- 
Franco Amato
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to