X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fsrc%2FMltPlaylist.cpp;fp=mlt%2B%2B%2Fsrc%2FMltPlaylist.cpp;h=30fba20a3bb83127ca009ad6412d474f10f45933;hb=a1887a6fbafe40ed98facbbaecc75706b7afed2d;hp=350e53b7ade6f5f0ef29c5c8bdec46439737224e;hpb=ef7d73ce9bf11e071aafbcf74d1900d9cdeb7537;p=melted diff --git a/mlt++/src/MltPlaylist.cpp b/mlt++/src/MltPlaylist.cpp index 350e53b..30fba20 100644 --- a/mlt++/src/MltPlaylist.cpp +++ b/mlt++/src/MltPlaylist.cpp @@ -44,7 +44,7 @@ ClipInfo::ClipInfo( mlt_playlist_clip_info *info ) : producer( new Producer( info->producer ) ), cut( new Producer( info->cut ) ), start( info->start ), - resource( strdup( info->resource ) ), + resource( info->resource? strdup( info->resource ) : 0 ), frame_in( info->frame_in ), frame_out( info->frame_out ), frame_count( info->frame_count ),