Especially reproducible on file: URLs.
+ result = strdup( result );
- return strdup( result );
}
static int get_basic_info( producer_avformat self, mlt_profile profile, const char *filename )
}
static int get_basic_info( producer_avformat self, mlt_profile profile, const char *filename )
free( (void*) params.standard );
// If successful, then try to get additional info
free( (void*) params.standard );
// If successful, then try to get additional info
+ if ( !error && self->video_format )
{
// Get the stream info
error = av_find_stream_info( self->video_format ) < 0;
// Continue if no error
{
// Get the stream info
error = av_find_stream_info( self->video_format ) < 0;
// Continue if no error
+ if ( !error && self->video_format )
{
// Find default audio and video streams
find_default_streams( self );
{
// Find default audio and video streams
find_default_streams( self );